Edit

Share via


SessionStateStoreData Constructor

Definition

Creates a new instance of the SessionStateStoreData class.

public:
 SessionStateStoreData(System::Web::SessionState::ISessionStateItemCollection ^ sessionItems, System::Web::HttpStaticObjectsCollection ^ staticObjects, int timeout);
public SessionStateStoreData (System.Web.SessionState.ISessionStateItemCollection sessionItems, System.Web.HttpStaticObjectsCollection staticObjects, int timeout);
new System.Web.SessionState.SessionStateStoreData : System.Web.SessionState.ISessionStateItemCollection * System.Web.HttpStaticObjectsCollection * int -> System.Web.SessionState.SessionStateStoreData
Public Sub New (sessionItems As ISessionStateItemCollection, staticObjects As HttpStaticObjectsCollection, timeout As Integer)

Parameters

sessionItems
ISessionStateItemCollection

The session variables and values for the current session.

staticObjects
HttpStaticObjectsCollection

The HttpStaticObjectsCollection for the current session.

timeout
Int32

The Timeout for the current session.

Remarks

The SessionStateStoreData class is used to represent session-state data for a session store to the SessionStateModule. The SessionStateStoreData object contains the session-state variable names and values, static object references, and Timeout information for the current session.

The SessionStateStoreData class is used by ASP.NET and implementers of a custom session-state store to pass session-state information to and from the SessionStateModule.

Custom session-store implementers construct a SessionStateStoreData object in implementations of the GetItem, GetItemExclusive, and CreateNewStoreData methods.

Applies to

See also