System.Web.SessionState.HttpSessionStateContainer.Abandon Method

Marks the current session as abandoned.

Syntax

public void Abandon ()

Remarks

The HttpSessionStateContainer.Abandon method of the System.Web.SessionState.HttpSessionStateContainer marks the HttpSessionStateContainer.IsAbandoned property as true. A custom session module can then query the HttpSessionStateContainer.IsAbandoned property and remove the session information if the HttpSessionStateContainer.IsAbandoned property is true.

Requirements

Namespace: System.Web.SessionState
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0