Active Server Pages Objects

Active Server Pages 3.0 contains five pre-defined, immediately accessible objects and yes, like the products mentioned above, ASP exposes much of its’ functionality through an object model. You might hear these objects referred to as intrinsic or built-in objects meaning that they exist within the context of the Active Server Page script by default. These objects make Active Server Pages a rich and extensible programming environment.

To use these objects, you simply reference them in your script. The following table lists these built-in objects:

Object Name Description
Request Contains the values submitted by the client web browser during the HTTP request.
Response Provides a set of methods and properties for controlling what information is sent to the requesting browser in response to the request.
Application Contains globally-scoped application-specific information.
Session Contains information about a user’s session.
Server An object that exposes the functionality of the web server in the form of properties and methods.

These five objects collectively represent version 3.0 of the Active Server Pages Object Model. In this article and the next we’ll explore the functionality of two of them – the Request and Response Objects. In later articles, we’ll examine the functionality of the others.

Page 1: A Brief History of Objects
Page 2: COM is the Basis for Microsoft's Object Strategy
Page 3: Using Objects and Object Models
Page 4: Active Server Pages Objects
Page 5: Requests and Responses: An HTTP Perspective
Page 6: Using the Request Object
Page 7: A Change of Method
Page 8: Using Other Collections
Page 9: Tip of the Week and Summary

Author: Keith Cox
Date: 12/29/97

More articles about Active Server Pages
More articles by Keith Cox
Author Biography

body>