ASP Abandon Method
Complete Session Object Reference
The Abandon method destroys a user session.
Note: When this method is called, the current Session object is not deleted until all of the script
on the current page have been processed. This means that it is possible to access session
variables on the same page as the call to Abandon, but not from another Web page.
Syntax
Examples
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

Whether you're new to XML or already an advanced user,
the user-friendly views and powerful entry helpers,
wizards, and debuggers in XMLSpy are designed to meet your XML
and Web development needs from start to finish.
New features in Version 2010!
- XML editor
- Graphical XML Schema / DTD editors
- XSLT 1.0/2.0 editor, debugger, profiler
- XQuery editor, debugger, profiler
- XBRL validator, taxonomy editor, taxonomy wizard
- Support for Office Open XML (OOXML)
- Graphical WSDL 1.1/2.0 editor & SOAP debugger
- JSON editing & conversion
- Java, C#, C++ code generation
- And much more!
Download a free trial today!
|
|
|
|