ISessionObject::Abandon

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

HRESULT Abandon(VOID);
 

Remarks

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.

See Also

Session Object