Compartilhar via


IIS COM API for ASP Built-In Objects

This section describes the interfaces that relate to the ASP built-in objects. The ASP built-in objects can access information regarding the Web server, the client who is accessing a Web page, the Web application that contains the Web page, and the fields in the HTTP request and response streams. The ASP built-in objects are organized by the type of information they contain.

For a list of the ASP built-in objects, including their methods, properties, and collections, see ASP Built-In Objects.

The following table lists the technologies from which ASP built-in objects can be accessed and how to access them.

Technology

Method of accessing ASP built-in objects

ASP

Use the ASP built-in objects directly.

ASP.NET

The Request, Response, Server, Application, and Session objects are part of ASP.NET and are used in much the same way as they are in ASP. However, in ASP.NET these objects are defined in new classes in the System.Web namespace. For more information, see ASP.NET Intrinsic Objects

COM component

Use the C++ interfaces, the Java classes, or the COM+ ObjectContext object by calling GetObjectContext to gain access the ASP built-in objects.

ISAPI application

Use the C++ interfaces for the ASP built-in objects.

This section includes the following topics:

See Also