HttpSessionStateContainer.Abandon Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Marks the current session as abandoned.

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

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