DataCacheSessionStoreProvider.CreateNewStoreData Method (HttpContext, Int32)

 

Creates a new data storage object for the current request.

Namespace:   Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)

Syntax

public override SessionStateStoreData CreateNewStoreData(
    HttpContext context,
    int timeout
)
public:
virtual SessionStateStoreData^ CreateNewStoreData(
    HttpContext^ context,
    int timeout
) override
override CreateNewStoreData : 
        context:HttpContext *
        timeout:int -> SessionStateStoreData
Public Overrides Function CreateNewStoreData (
    context As HttpContext,
    timeout As Integer
) As SessionStateStoreData

Parameters

  • timeout
    Type: System.Int32

    The session state Timeout value for the new SessionStateStoreData object.

Return Value

Type: System.Web.SessionState.SessionStateStoreData

A SessionStateStoreData object, used for storing session data in the distributed cache.

Remarks

For more information, see the documentation for the base class SessionStateStoreProviderBase.

See Also

DataCacheSessionStoreProvider Class
Microsoft.ApplicationServer.Caching Namespace

Return to top