HttpSessionStateContainer::Abandon Method ()

 

Marks the current session as abandoned.

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

public:
virtual void Abandon() sealed

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
Available since 2.0
Return to top
Show: