View Full Version : loging out with session.Abandon()

07-15-2004, 04:20 PM
i was thinking of having a hyperlink which would log the user out. currently iam using a session object to log people in, ie session("permission") = true and then checking this on every page. i was woundering how i make a link run a script which sets session("permission") = false. but for some reason the user is only logged out out of every page only if they double refresh the page, otherwise the page detects the person as loged in. i think i need to set some cache to something. can anybody help? thanx in advance.

07-15-2004, 10:18 PM
you're a bit vague about the actual situation where users can see earlier pages.

I assume they browse through the history?

In every case: sounds indeed like caching problem. Here's a recent thread about trying to prevent clientside caching