MySqlSessionStateStore Members

MySQL Connector.Net

Collapse image Expand Image Copy image CopyHover image

The MySqlSessionStateStore type exposes the following members.

Constructors

  Name Description
Public method MySqlSessionStateStore

Methods

  Name Description
Public method CreateNewStoreData
This method creates a new SessionStateStoreData object for the current request.
(Overrides SessionStateStoreProviderBase..::..CreateNewStoreData(HttpContext, Int32).)
Public method CreateUninitializedItem
This method adds a new session state item to the database.
(Overrides SessionStateStoreProviderBase..::..CreateUninitializedItem(HttpContext, String, Int32).)
Public method Dispose
This method releases all the resources for this instance.
(Overrides SessionStateStoreProviderBase..::..Dispose()()()().)
Public method EndRequest
This method allows the MySqlSessionStateStore object to perform any cleanup that may be required for the current request.
(Overrides SessionStateStoreProviderBase..::..EndRequest(HttpContext).)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetItem
This method returns a read-only session item from the database.
(Overrides SessionStateStoreProviderBase..::..GetItem(HttpContext, String, Boolean%, TimeSpan%, Object%, SessionStateActions%).)
Public method GetItemExclusive
This method locks a session item and returns it from the database
(Overrides SessionStateStoreProviderBase..::..GetItemExclusive(HttpContext, String, Boolean%, TimeSpan%, Object%, SessionStateActions%).)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method Initialize
Initializes the provider with the property values specified in the ASP.NET application configuration file
(Overrides ProviderBase..::..Initialize(String, NameValueCollection).)
Public method InitializeRequest
This method performs any per-request initializations that the MySqlSessionStateStore provider requires.
(Overrides SessionStateStoreProviderBase..::..InitializeRequest(HttpContext).)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method 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).)
Public method RemoveItem
This method removes the specified session item from the database
(Overrides SessionStateStoreProviderBase..::..RemoveItem(HttpContext, String, Object, SessionStateStoreData).)
Public method ResetItemTimeout
This method resets the expiration date and timeout for a session item in the database.
(Overrides SessionStateStoreProviderBase..::..ResetItemTimeout(HttpContext, String).)
Public method 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).)
Public method SetItemExpireCallback
This method sets the reference for the ExpireCallback delegate if setting is enabled.
(Overrides SessionStateStoreProviderBase..::..SetItemExpireCallback(SessionStateItemExpireCallback).)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  Name Description
Public property ApplicationName
Public property Description
Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs).
(Inherited from ProviderBase.)
Public property EnableExpireCallback
Indicates whether if expire callback is on or off
Public property Name
Gets the friendly name used to refer to the provider during configuration.
(Inherited from ProviderBase.)
Public property WriteExceptionsToEventLog
Indicates whether to write exceptions to event log

See Also