Chapter: Internet & World Wide Web HOW TO PROGRAM - Active Server Pages (ASP)

Study Material, Lecturing Notes, Assignment, Reference, Wiki description explanation, brief detail

How Active Server Pages(ASP) Work

Active Server Pages are processed by an ActiveX component (i.e., a server-side ActiveX control) called a scripting engine.

How Active Server Pages Work

 

Active Server Pages are processed by an ActiveX component (i.e., a server-side ActiveX control) called a scripting engine. An ASP file has the file extension .asp and contains XHTML tags and scripting code. Although other languages, like JavaScript, can be used for ASP scripting, VBScript (Chapter 24) is the most widely used.

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.


Study Material, Lecturing Notes, Assignment, Reference, Wiki description explanation, brief detail


Copyright © 2018-2020 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.