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

 

C++ Interfaces Reference

Sun 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.

Sun 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, see "ASP Built-in Objects Reference" in this chapter.

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