Objects manage the Application state and provide simple access to forms and HTTP parameters. They come in both built-in and installable forms.

Objects are components of a programming language that provide tools for competing for basic repetitive programming tasks. Objects ofter provide simple access to forms and manage Application state. ASP objects come in built-in and installable forms.

The Active Server Pages (ASP) framework provides six built-in objects which you can use them in scripts.

Server Object

The server object provides access to methods and properties on the server.

Application Object

You can use the application object to sharing information among all the users of a given application. An ASP-based application defined as all the .asp files in a virtual directory and its subdirectories. Because more than one user can share the application object, there are methods for locking and unlocking it to ensure that multiple users do not try to alter a property simultaneously.

Session Object

The session object stores information needed for a particular user session. Variables stored in the session object not discarded when the user jumps between pages in the application; instead, these variables persist for the entire user session.

The Web server automatically creates a session object when a user who does not already have a session requests a Web page from the application.

The server destroys the session object when the session expires or is abandoned.
One common use for the session object is to store user preferences such as high, medium, or low graphics set on a previous visit to the Web applications. Session state is maintained only for browsers that support cookies.

Request Object

The request object retrieves the values that the client browser passed to the server during an HTTP request.

Response Object

The response object sends output to the client.

ObjectContext Object

The ObjectContext object is used either to commit or abort a transaction initiated by an ASP script. The ObjectContext object provides for information about the transactions and additionally provides information about the client and the state of the client's connection to the server. It permits the developer to avoid an expensive operation if the user has canceled the page.