ReleaseItemExclusive
This method forcibly releases the lock on a session item in the database, if multiple attempts to retrieve the session item fail.
Declaration
// C# public override void ReleaseItemExclusive(HttpContext context, string id, Object lockId);
Parameters
-
contextThe
HttpContextobject for the current request. -
idThe session ID for the current request.
-
lockIdThe lock identifier for the current request.
Exceptions
ArgumentNullException - The input parameter is null.
OracleException - An Oracle-related error has occurred.
Remarks
This method is called by the session state service to release the lock on a session item in the database and update the expiration date. The SessionStateModule calls this method at the end of a request if the session values are unchanged or when the lock has exceeded the HttpRuntimeSection.ExecutionTimeout property value.