SessionStateStoreData Constructor (ISessionStateItemCollection^, HttpStaticObjectsCollection^, Int32)
Creates a new instance of the SessionStateStoreData class.
Assembly: System.Web (in System.Web.dll)
public: SessionStateStoreData( ISessionStateItemCollection^ sessionItems, HttpStaticObjectsCollection^ staticObjects, int timeout )
Parameters
- sessionItems
-
Type:
System.Web.SessionState::ISessionStateItemCollection^
The session variables and values for the current session.
- staticObjects
-
Type:
System.Web::HttpStaticObjectsCollection^
The HttpStaticObjectsCollection for the current session.
- timeout
-
Type:
System::Int32
The Timeout for the current session.
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.
Available since 2.0