IIS 6.0

The ISessionObject::Abandon method destroys all the objects stored in the current session and releases their resources. For more information, see the Session.Abandon method of the Session object.

HRESULT Abandon(

This method has no parameters.

When this method is called, the current Session object is queued for deletion, but is not actually deleted until all of the script commands on the current page have been processed. This means that you can access variables stored in the Session object on the same page as the call to Abandon, but not in any subsequent Web pages.

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS