MySqlSessionStateStore Members
From MySQL Connector/Net
| MySQL Connector/Net |
| MySqlSessionStateStore Members |
| MySqlSessionStateStore Class Constructors Methods Properties See Also Send Feedback |
The MySqlSessionStateStore type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| MySqlSessionStateStore |
Methods
| Name | Description | |
|---|---|---|
| CreateNewStoreData |
This method creates a new SessionStateStoreData object for the current request.
(Overrides SessionStateStoreProviderBase..::.CreateNewStoreData(HttpContext, Int32).) | |
| CreateUninitializedItem |
This method adds a new session state item to the database.
(Overrides SessionStateStoreProviderBase..::.CreateUninitializedItem(HttpContext, String, Int32).) | |
| Dispose |
This method releases all the resources for this instance.
(Overrides SessionStateStoreProviderBase..::.Dispose()()().) | |
| EndRequest |
This method allows the MySqlSessionStateStore object to perform any cleanup that may be
required for the current request.
(Overrides SessionStateStoreProviderBase..::.EndRequest(HttpContext).) | |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetItem |
This method returns a read-only session item from the database.
(Overrides SessionStateStoreProviderBase..::.GetItem(HttpContext, String, Boolean%, TimeSpan%, Object%, SessionStateActions%).) | |
| GetItemExclusive |
This method locks a session item and returns it from the database
(Overrides SessionStateStoreProviderBase..::.GetItemExclusive(HttpContext, String, Boolean%, TimeSpan%, Object%, SessionStateActions%).) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Initialize |
Initializes the provider with the property values specified in the ASP.NET application configuration file
(Overrides ProviderBase..::.Initialize(String, NameValueCollection).) | |
| InitializeRequest |
This method performs any per-request initializations that the MySqlSessionStateStore provider requires.
(Overrides SessionStateStoreProviderBase..::.InitializeRequest(HttpContext).) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ReleaseItemExclusive |
This method forcibly releases the lock on a session item in the database, if multiple attempts to
retrieve the session item fail.
(Overrides SessionStateStoreProviderBase..::.ReleaseItemExclusive(HttpContext, String, Object).) | |
| RemoveItem |
This method removes the specified session item from the database
(Overrides SessionStateStoreProviderBase..::.RemoveItem(HttpContext, String, Object, SessionStateStoreData).) | |
| ResetItemTimeout |
This method resets the expiration date and timeout for a session item in the database.
(Overrides SessionStateStoreProviderBase..::.ResetItemTimeout(HttpContext, String).) | |
| SetAndReleaseItemExclusive |
This method updates the session time information in the database with the specified session item,
and releases the lock.
(Overrides SessionStateStoreProviderBase..::.SetAndReleaseItemExclusive(HttpContext, String, SessionStateStoreData, Object, Boolean).) | |
| SetItemExpireCallback |
This method returns a false value to indicate that callbacks for expired sessions are not supported.
(Overrides SessionStateStoreProviderBase..::.SetItemExpireCallback(SessionStateItemExpireCallback).) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| ApplicationName | ||
| Description |
Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs).
(Inherited from ProviderBase.) | |
| Name |
Gets the friendly name used to refer to the provider during configuration.
(Inherited from ProviderBase.) | |
| WriteExceptionsToEventLog |
Indicates whether to write exceptions to event log
|