CoherenceSessionStore Class |
Namespace: Tangosol.Web
public class CoherenceSessionStore : SessionStateStoreProviderBase
The CoherenceSessionStore type exposes the following members.
| Name | Description | |
|---|---|---|
| CoherenceSessionStore | Initializes a new instance of the CoherenceSessionStore class |
| Name | Description | |
|---|---|---|
| ApplicationId |
Allows users to specify application identifier explicitly, in order
to share session state across different ASP.NET applications.
| |
| CacheName |
The name of the INamedCache used to store serialized HTTP
session data.
| |
| Description | Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs). (Inherited from ProviderBase.) | |
| ModelManager |
The session model manager.
| |
| Name | Gets the friendly name used to refer to the provider during configuration. (Inherited from ProviderBase.) | |
| SessionEndEnabled |
The flag used to enable Session_OnEnd event and listener
registration.
| |
| Timeout |
The configured HTTP session timeout.
|
| Name | Description | |
|---|---|---|
| CreateNewStoreData |
Creates a new Web.SessionState.SessionStateStoreData
object to be used for the current request.
(Overrides SessionStateStoreProviderBaseCreateNewStoreData(HttpContext, Int32).) | |
| CreateSessionStateStoreData |
Construct a SessionStateStoreData object from the serialized
ISessionStateItemCollection stored in the underlying
INamedCache.
| |
| CreateUninitializedItem |
Adds a new session-state item to the data store.
(Overrides SessionStateStoreProviderBaseCreateUninitializedItem(HttpContext, String, Int32).) | |
| Dispose |
Releases all resources used by this session-state store provider.
(Overrides SessionStateStoreProviderBaseDispose.) | |
| EndRequest |
Called by the Web.SessionState.SessionStateModule
object at the end of a request.
(Overrides SessionStateStoreProviderBaseEndRequest(HttpContext).) | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetItem |
Returns read-only HTTP session data from the session data store.
(Overrides SessionStateStoreProviderBaseGetItem(HttpContext, String, Boolean, TimeSpan, Object, SessionStateActions).) | |
| GetItemExclusive |
Returns writeable HTTP session data from the session data store.
(Overrides SessionStateStoreProviderBaseGetItemExclusive(HttpContext, String, Boolean, TimeSpan, Object, SessionStateActions).) | |
| GetLockId |
Converts lock identifier to long.
| |
| GetSessionKey |
Determine the key used to store the state of the HTTP session with
the given identifier in the underlying INamedCache.
| |
| GetSessionStateItem |
Acquire and return HTTP session data from the session data store.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Initialize |
Initializes this session-state store provider by obtaining the
INamedCache used to store serialized HTTP session state.
(Overrides ProviderBaseInitialize(String, NameValueCollection).) | |
| InitializeRequest |
Called by the Web.SessionState.SessionStateModule
object for per-request initialization.
(Overrides SessionStateStoreProviderBaseInitializeRequest(HttpContext).) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ReleaseItemExclusive |
Releases a lock on an item in the session data store.
(Overrides SessionStateStoreProviderBaseReleaseItemExclusive(HttpContext, String, Object).) | |
| RemoveItem |
Deletes item data from the session data store.
(Overrides SessionStateStoreProviderBaseRemoveItem(HttpContext, String, Object, SessionStateStoreData).) | |
| ResetItemTimeout |
Updates the expiration date and time of an item in the session
data store.
(Overrides SessionStateStoreProviderBaseResetItemTimeout(HttpContext, String).) | |
| SetAndReleaseItemExclusive |
Updates the session item information in the session data store
with values from the current request, and clears the lock
on the data.
(Overrides SessionStateStoreProviderBaseSetAndReleaseItemExclusive(HttpContext, String, SessionStateStoreData, Object, Boolean).) | |
| SetItemExpireCallback |
Configure the Web.SessionState.SessionStateItemExpireCallback
delegate for the Session_OnEnd event defined in the
Global.asax file.
(Overrides SessionStateStoreProviderBaseSetItemExpireCallback(SessionStateItemExpireCallback).) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
This implementation allows you to have a truly clustered session- state store.
The CoherenceSessionStore has the following conditions and features: