ASP Built-in Objects

Active Server Pages (ASP) implements classes that enable your component to access the properties and methods of the ASP built-in objects. The ObjectContext object exposes methods that return an interface to one of the ASP built-in objects. Your component can use these interfaces to access the methods and properties of the built-in objects.

The following table lists the built-in object classes:

Class Use to
Application Object Calls the methods and properties of the Application Object.
ASPError Object Calls the methods and properties of the ASPError Object.
ObjectContext Object Returns the built-in objects and provide methods used in transaction processing.
Request Object Calls the methods and properties of the Request Object.
Response Object Calls the methods and properties of the Response Object.
ScriptingContext Returns the built-in objects: Application Object, Request Object, Response Object, Server Object, or Session Object. This is an obsolete approach. You should use ObjectContext instead.
Server Object Calls the methods and properties of the Server Object.
Session Object Calls the methods and properties of the Session Object.

To use the ObjectContext and built-in objects in a Visual Basic component, you must include a reference to the Microsoft® ASP Object Library in your Visual Basic project.


© 1997-2001 Microsoft Corporation. All rights reserved.