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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

login - logout

Status
Not open for further replies.

nicsin

Programmer
Jul 31, 2003
743
GB
Hi,

when my user log out of the site and hits the browser's back button, it still shows him as loged in (the name is displayed). If he refreshes, it is then ok and asks him to login. I guess it has something to do with the cache isn't it? Is there a way round this?

Thnx for your input guys
 
sorry!

in the session object. I call session.abandon on logout.
 
well, there is the logout.asp (the user may choose to be remembered so I also write cookies for this):
Code:
<%
	Session("username")=""
	Session("fName")=""

	response.cookies("member")("username")= ""
	response.cookies("member")("fName")=""
	
	session.Abandon()
	
        response.Redirect("../index.asp")
%>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top