Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Session.Abandon" doesn't abandon

Status
Not open for further replies.

grnzbra

Programmer
Mar 12, 2002
1,273
US
I generate a menu with an include file that is included in all of the webpages. The "logout" menu item is generated by the following line:

Response.Write("<div class='holo' onclick='Show()' nextPage= logout.asp>Logout</div>")

That sends it to the logout.asp file, which contains just the following:

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
Session.Abandon
Response.Redirect("login.asp")
%>

That sends it back to the login page. All appears to be well. However, if one types the url of one of the site's pages, it will go there with the same permissions as the person who, supposedly, just logged out. In my search for a solution to this problem, various sources of info about "session.abandon" said that it didn't destroy the session objects until the page had finished running. Could something still be "running" or is there some other problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top