SessionStateStoreData.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
)
public SessionStateStoreData (
	ISessionStateItemCollection sessionItems, 
	HttpStaticObjectsCollection staticObjects, 
	int timeout
)
public function SessionStateStoreData (
	sessionItems : ISessionStateItemCollection, 
	staticObjects : HttpStaticObjectsCollection, 
	timeout : int
)
Not applicable.

Parameters

sessionItems

The session variables and values for the current session.

staticObjects

The HttpStaticObjectsCollection for the current session.

timeout

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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: