Export (0) Print
Expand All

HttpSessionStateContainer.Abandon Method

Marks the current session as abandoned.

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

public void Abandon()

Implements

IHttpSessionState.Abandon()

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft