eWebProgrammer eweb





ASP   «Prev 

ASP Five Object Model

This section describes the intrinsic COM objects (ASP built-in objects) that are available to ASP pages. Using ASP built-in objects, you can access to information regarding the Web server,
  1. the client who is accessing a Web page,
  2. the Web application that contains the Web page, and
  3. the fields in the HTTP request and response streams.
The ASP built-in objects are organized by the type of information they contain.
The information in ASP built-in objects can also be obtained in a COM component or an ISAPI application. The following table lists the technologies from which ASP built-in objects can be accessed and how to access them.


The request object, this is used to receive data from the client's browser and computer, including cookies, files, and HTML forms. It provides a way for the server to store and retrieve the received data.
The request object, this is used to receive data from the client's browser and computer, including cookies, files, and HTML forms. It provides a way for the server to store and retrieve the received data.

Response object is used to send data or HTML code from directories or memory locations on the server back to the client browser and computer
Response object is used to send data or HTML code from directories or memory locations on the server back to the client browser and computer


The session object is used to store data and create a work area for each user who visits and navigates around the web site. It provides the continuity (state) that is lost in static HTML pages.
The session object is used to store data and create a work area for each user who visits and navigates around the web site. It provides the continuity (state) that is lost in static HTML pages.

Application object is used to allow more than one user at a time to run a web application, which can be a separate program linked to the Web pages or the Web pages and ASP scripts themselves.
Application object is used to allow more than one user at a time to run a web application, which can be a separate program linked to the Web pages or the Web pages and ASP scripts themselves.

The server object, this is used to contain and send information about the web server itself, perform cleanup of user information no longer needed, and create and terminate input/output connection to user files and other applications like database records.
The server object, this is used to contain and send information about the web server itself, perform cleanup of user information no longer needed, and create and terminate input/output connection to user files and other applications like database records.