DefaultSessionStateProvider Class

 

Provides a default implementation of SessionStateProvider using EntityFramework.

Namespace:   System.Web.Providers
Assembly:  System.Web.Providers (in System.Web.Providers.dll)


public class DefaultSessionStateProvider : SessionStateStoreProviderBase

NameDescription
System_CAPS_pubmethodDefaultSessionStateProvider()

Initializes a new instance of the DefaultSessionStateProvider class.

NameDescription
System_CAPS_pubpropertyDescription

(Inherited from ProviderBase.)

System_CAPS_pubpropertyName

(Inherited from ProviderBase.)

NameDescription
System_CAPS_pubmethodCreateNewStoreData(HttpContext, Int32)

Creates a new SessionStateStoreData object.(Overrides SessionStateStoreProviderBase.CreateNewStoreData(HttpContext, Int32).)

System_CAPS_pubmethodCreateUninitializedItem(HttpContext, String, Int32)
System_CAPS_pubmethodDispose()

Releases the resources used by the current instance of the DefaultSessionStateProvider class.(Overrides SessionStateStoreProviderBase.Dispose().)

System_CAPS_pubmethodEndRequest(HttpContext)

Called on end request and registers a task which purges expired sessions.(Overrides SessionStateStoreProviderBase.EndRequest(HttpContext).)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(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 provider from specified configuration.(Overrides ProviderBase.Initialize(String, NameValueCollection).)

System_CAPS_pubmethodInitializeRequest(HttpContext)

Initializes the request hook.(Overrides SessionStateStoreProviderBase.InitializeRequest(HttpContext).)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

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

Refreshes a session item timeout.(Overrides SessionStateStoreProviderBase.ResetItemTimeout(HttpContext, String).)

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

Sets an expire callback for the item. Currently always returns false. (Overrides SessionStateStoreProviderBase.SetItemExpireCallback(SessionStateItemExpireCallback).)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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: