Partager via


ISessionObject C++ Interface

The ISessionObject interface exposes the methods of the Session Object object.

Methods in Vtable Order

The ISessionObject interface inherits the methods of the standard COM interface IUnknown.

The ISessionObject interface defines the following methods.

Method

Description

Abandon

Destroys all the objects stored in the Session Object object and releases their resources.

get_CodePage

Retrieves the CodePage property for the Session object.

get_Contents

Retrieves the Contents collection.

get_LCID

Retrieves the LCID property for the Session object.

get_SessionID

Retrieves the value of the SessionID property.

get_StaticObjects

Retrieves the StaticObjects collection.

get_Timeout

Retrieves the value of the Timeout property.

get_Value

Retrieves the value of a variable stored in the Session object.

put_CodePage

Set a value for the CodePage property.

put_LCID

Sets a value for the LCID property.

put_Timeout

Sets a value for the Timeout property.

putref_Value

Stores a variable in the Session object by reference.

put_Value

Stores a variable in the Session object by value.

Note

This interface also supports the IUnknown and IDispatch interface methods. For more information, see \iissamples\sdk\include\asptlb.h, the header file installed with ASP.

For more information, see Managing Sessions.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS