13.2 C++ Interfaces Reference

Chili!Soft ASP implements interfaces that allow your components to access the properties and methods of built-in ASP objects. You component can use these object interfaces to access the properties, methods, and collections of the built-in objects.
Chili!Soft ASP does not currently support the IObjectContext interface required to access Microsoft Transaction Server methods. The IScriptingContext should be used to access the built-in object interfaces.
The following table lists the built-in object interfaces:
Interface
|
Description
|
IApplicationObject
|
Calls the methods and properties of the Application object.
|
IReadCookie
|
Retrieves the values stored in the read-only Cookies collection.
|
IRequest
|
Calls the methods and properties of the Request object.
|
IRequestDictionary
|
Indexes the collections of the IRequest interface.
|
IResponse
|
Calls the methods and properties of the Response object.
|
IScriptingContext
|
Returns a pointer to the interface on one of the built-in objects: IApplicationObject, IRequest, IResponse, IServer, or ISessionObject.
|
IServer
|
Calls the methods and properties of the Server object.
|
ISessionObject
|
Calls the methods and properties of the Session object.
|
IStringList
|
Retrieves the values stored in a string list, used in the QueryString, Form or ServerVariables collections.
|
IVariantDictionary
|
Retrieves the items stored in the Application and Session Contents and StaticObjects collections.
|
IWriteCookie
|
Sets the values and attributes in the write-only Cookies collection.
|
To use IScriptingContext and object interfaces in a C++ component, you must include the header file asptlb.h.
For more information about the built-in objects, see Chapter 6, Built-in Objects Reference.
Copyright © 2000 Chili!Soft
|