DataCacheSessionStoreProvider.CreateNewStoreData Method (HttpContext, Int32)
Creates a new data storage object for the current request.
Assembly: Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)
Public Overrides Function CreateNewStoreData ( context As HttpContext, timeout As Integer ) As SessionStateStoreData
Parameters
- context
-
Type:
System.Web.HttpContext
The HttpContext for the current request.
- timeout
-
Type:
System.Int32
The session state Timeout value for the new SessionStateStoreData object.
Return Value
Type: System.Web.SessionState.SessionStateStoreDataA SessionStateStoreData object, used for storing session data in the distributed cache.
For more information, see the documentation for the base class SessionStateStoreProviderBase.
Show: