SessionStateStoreData Constructor (ISessionStateItemCollection, HttpStaticObjectsCollection, Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates a new instance of the SessionStateStoreData class.

Namespace:   System.Web.SessionState
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.

.NET Framework
Available since 2.0
Return to top
Show: