Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

ASP Built-in Objects Reference

Sun Chili!Soft ASP provides five built-in or intrinsic objects for the Active Server Pages (ASP) framework: Request, Response, Application, Server, and Session. Built-in objects are objects that are included on all ASP pages; they do not need to be created before they can be used. This section discusses the following ASP built-in objects:

ASP Built-in Object

Description

ASP Application Object

Stores information (variables and objects) needed for all users of a particular application. Information stored in the Application object persists for the lifetime of the application.

ASP Request Object

Provides access to values passed to the server by the client.

ASP Response Object

Controls the output from an ASP script to the requesting client.

ASP Server Object

Provides access to methods and properties on the server. These methods and properties typically serve as utility functions.

ASP Session Object

Stores information (variables and objects) needed for a particular user session. Information stored in the Session object is not discarded when the user jumps between pages in the application; instead information persists for the entire user session.

Built-in objects simplify development by solving Web-protocol programming issues. For example, built-in objects can provide mechanisms to process data sent using the Hypertext Transfer Protocol (HTTP). HTTP is a stateless technology, and the server cannot track the location of users in an application or the use of an application. By using the built-in Session object, an application (or object) can handle session management tasks.

Note

ASP scripts provided in the examples are assumed to be enclosed in script delimiters. The <%, %>, <SCRIPT>, and </SCRIPT> delimiters are generally not shown.

See also:

Using Sun Chili!Soft ASP Built-in Objects in "Chapter 4: Building a Sun Chili!Soft ASP Application"

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.