System.Web.SessionState.IHttpSessionState.Abandon Method

Ends the current session.

Syntax

public void Abandon ()

Remarks

The IHttpSessionState.Abandon method is used to clear out session data and raise the Session_OnEnd event defined in the Global.asax file for the ASP.NET application.

Requirements

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