VBScript Tutorials - Herong's Tutorial Examples - v6.02, by Herong Yang
ASP Objects: Request, Response, Session and Application
This section describes additional objects provided by ASP: Request, Response, Session and Application. Your server-side VBScript code will use those objects to convert static Web pages into Web-based applications.
ASP enabled Web server, like IIS, provides a number run-time objects as part of the server side scripting environment:
The following diagram illustrates the relations among the ASP objects:
Server |- Application X | |- Session A Client A | | |- Request #1 <--- | | | |- Response #1 ---> | | | |- Request #2 <--- | | | |- Response #2 ---> | | | |- ...... | | | | |- Session B Client B | | |- Request #1 <--- | | | |- Response #1 ---> | | | |- Request #2 <--- | | | |- Response #2 ---> | | | |- ...... | | |- ...... | |- Application Y |- ......
Table of Contents
Introduction of VBScript - Visual Basic Scripting Edition
Variant Data Type, Subtypes, and Literals
Numeric Comparison Operations and Logical Operations
String Operations - Concatenation and Comparison
Variable Declaration and Assignment Statement
Expression and Order of Operation Precedence
Statement Syntax and Statement Types
Array Data Type and Related Statements
Array References and Array Assignment Statements
Conditional Statements - "If ... Then" and "Select Case"
Loop Statements - "For", "While", and "Do"
"Function" and "Sub" Procedures
Inspecting Variables Received in Procedures
Error Handling Flag and the "Err" Object
Regular Expression Pattern Match and Replacement
scrrun.dll - Scripting Runtime DLL Library
IE Web Browser Supporting VBScript
►IIS ASP Server Supporting VBScript
What is ASP (Active Server Pages)?
Static, Client-Side and Server-Side Scripting Pages
Setting Up IIS to Run ASP Pages - asp.dll
►ASP Objects: Request, Response, Session and Application
ASP Object Example - Passing Values between Pages
Interacting with External Applications - ActiveX Data Object (ADO)