ASP Abandon Method
Complete Session object reference manual
The Abandon method ends the user's session.
**Note:** When this method is called, the current Session object is not deleted until all scripts on the current page have been processed. This means that session variables can be accessed on the same page when Abandon is called, but cannot be accessed from another page.
Syntax
Session.Abandon
Example
File1.asp:
<%
Session("name")="Hege"
Session.Abandon
Response.Write(Session("name"))
%>
Output:
Hege
File2.asp:
<%
Response.Write(Session("name"))
%>
Output:
(none)
Complete Session object reference manual