DataCacheSessionStoreProvider Class

 

Updated: June 30, 2012

Note: This API is now obsolete.

A session storage provider that enables Web applications to store session-state data to a distributed cache system.

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

System.Object
  System.Configuration.Provider.ProviderBase
    System.Web.SessionState.SessionStateStoreProviderBase
      Microsoft.ApplicationServer.Caching.DataCacheSessionStoreProvider

[ObsoleteAttribute("This type is obsolete and will be removed in a future release. Please use Microsoft.Web.DistributedCache.DistributedCacheSessionStateStoreProvider in assembly Microsoft.Web.DistributedCache.dll instead", 
	false)]
public sealed class DataCacheSessionStoreProvider : SessionStateStoreProviderBase

NameDescription
System_CAPS_pubmethodDataCacheSessionStoreProvider()

Initializes a new instance of the DataCacheSessionStoreProvider class.

NameDescription
System_CAPS_pubpropertyApplicationName

The application name. This is used to differentiate sessions in the data source by application.

System_CAPS_pubpropertyDescription

(Inherited from ProviderBase.)

System_CAPS_pubpropertyName

(Inherited from ProviderBase.)

NameDescription
System_CAPS_pubmethodCreateNewStoreData(HttpContext, Int32)

Creates a new data storage object for the current request.(Overrides SessionStateStoreProviderBase.CreateNewStoreData(HttpContext, Int32).)

System_CAPS_pubmethodCreateUninitializedItem(HttpContext, String, Int32)

Adds a new session state to the distributed cache. (Overrides SessionStateStoreProviderBase.CreateUninitializedItem(HttpContext, String, Int32).)

System_CAPS_pubmethodDispose()

Releases all resources used by the DataCacheSessionStoreProvider class.(Overrides SessionStateStoreProviderBase.Dispose().)

System_CAPS_pubmethodEndRequest(HttpContext)

Called by the SessionStateModule class at the end of a request(Overrides SessionStateStoreProviderBase.EndRequest(HttpContext).)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetItem(HttpContext, String, Boolean, TimeSpan, Object, SessionStateActions)
System_CAPS_pubmethodGetItemExclusive(HttpContext, String, Boolean, TimeSpan, Object, SessionStateActions)
System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInitialize(String, NameValueCollection)

Initializes the distributed cache provider.(Overrides ProviderBase.Initialize(String, NameValueCollection).)

System_CAPS_pubmethodInitializeRequest(HttpContext)

Initializes the outgoing HTTP request.(Overrides SessionStateStoreProviderBase.InitializeRequest(HttpContext).)

System_CAPS_pubmethodReleaseItemExclusive(HttpContext, String, Object)

Releases a lock on the session data in the cache.(Overrides SessionStateStoreProviderBase.ReleaseItemExclusive(HttpContext, String, Object).)

System_CAPS_pubmethodRemoveItem(HttpContext, String, Object, SessionStateStoreData)
System_CAPS_pubmethodResetItemTimeout(HttpContext, String)

Updates the expiration date and time of session data in the cache.(Overrides SessionStateStoreProviderBase.ResetItemTimeout(HttpContext, String).)

System_CAPS_pubmethodSetAndReleaseItemExclusive(HttpContext, String, SessionStateStoreData, Object, Boolean)

Updates the session item information in the cache with values from the current request and clears the lock on the session item.(Overrides SessionStateStoreProviderBase.SetAndReleaseItemExclusive(HttpContext, String, SessionStateStoreData, Object, Boolean).)

System_CAPS_pubmethodSetItemExpireCallback(SessionStateItemExpireCallback)

Sets a reference to the SessionStateItemExpireCallback delegate for the Session_OnEnd event defined in the Global.asax file.(Overrides SessionStateStoreProviderBase.SetItemExpireCallback(SessionStateItemExpireCallback).)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: