Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

HttpSessionState.Abandon Method

Cancels the current session.

[Visual Basic]
Public Sub Abandon()
public void Abandon();
public: void Abandon();
public function Abandon();


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.


Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpSessionState Class | HttpSessionState Members | System.Web.SessionState Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.