How Active Server Pages Work
The Active Server Pages in this chapter demonstrate communication between clients and servers via the HTTP protocol of the World Wide Web. When a server receives a client’s HTTP request, the server loads the document (or page) requested by the client. XHTML documents are static documents—all clients see the same content when the doc-ument is requested. ASP is a Microsoft technology for sending to the client dynamic Web content, including XHTML, Dynamic HTML, ActiveX controls, client-side scripts and Java applets (i.e., client-side Java programs that are embedded in a Web page). The Active Server Page processes the request (which often includes interacting with a database) and returns the results to the client—normally in the form of an XHTML document, but other data formats (e.g., images, binary data, etc.) can be returned.
When a client requests an ASP document, the document is loaded into memory and parsed (top to bottom) by a scripting engine named asp.dll. Script code is interpreted as it is encountered.
Copyright © 2018-2020 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.