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);
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.