RemoveItem
This method removes the specified session item from the database.
Declaration
// C# public override void RemoveItem(HttpContext context, string id, Object lockId, SessionStateStoreData item);
Parameters
-
contextThe
HttpContextobject for the current request. -
idThe session ID for the current request.
-
lockIdThe lock identifier for the current request.
-
itemThe session item to remove from the database.
Exceptions
ArgumentNullException - The input parameter is null.
OracleException - An Oracle-related error has occurred.
Remarks
The session state service calls this method to remove the specified session item from the database. An application can call the Session.Abandon method to cancel a session.