HttpSessionStateContainer.Abandon Method ()


Marks the current session as abandoned.

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

abstract Abandon : unit -> unit
override Abandon : unit -> unit

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