Export (0) Print
Expand All

SessionStateStoreData Constructor

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

Supported in: 4.5, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft