This documentation is archived and is not being maintained.
HttpSessionState.Abandon Method
.NET Framework 1.1
Cancels the current session.
[Visual Basic] Public Sub Abandon() [C#] public void Abandon(); [C++] public: void Abandon(); [JScript] public function Abandon();
Remarks
Once Abandon is called, the current session is no longer valid and a new session can be started. Abandon causes the End event to be raised (a new Start event is raised on the next request). The End event is supported only when Mode is InProc.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
HttpSessionState Class | HttpSessionState Members | System.Web.SessionState Namespace
Show: