Lesson 2: Authoring Active Server Pages

Active Server Page Architecture

Active Server Pages are processed by an extension on the Web server that ships with Microsoft Visual InterDev and Microsoft Internet Information Server (IIS). Before you can test ASP, the extension must be installed on a Web server. Because a Web server runs a process to read ASP, they must also be placed in a virtual folder that has Execute permissions.

An ASP script runs when a browser requests an .asp file from a Web server. The Web server calls the ASP, which runs scripts and commands, and then sends an HTML page to the browser.

Before you continue with the lesson, run the Chap10a.exe animation located on the CD-ROM that accompanies this book. This animation explains how an Active Server Page is processed.

click to view at full size.

Figure 10.1 How Active Server Pages are processed

Static HTML pages display the same information each time a user views the page in a browser; in comparison, ASP is dynamic and interactive. Whenever a user requests an ASP file, the script runs and returns an HTML response to the user .



Microsoft Windows Architecture Training
Microsoft Windows Architecture for Developers Training Kit
ISBN: B00007FY9D
EAN: N/A
Year: 1998
Pages: 324

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net