When a user logs in to your web app, it sets a cookie to know
who's logged in. When user logs out the cookie is disposed.
One more thing to do is not to store pages in browser cache.
If your web app is written is ASP, you can set the precise date
and time when a cached page expires:
Response.ExpiresAbsolute = Now() - 1
Or specify the time in minutes before a cached page expires:
Response.Expires = 0
Setting this value to zero reloads page every time.
In plain HTML tell the browser not to cache page and immediately
expire page:
<HTML>
<HEAD>
<TITLE>---</TITLE>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
</HEAD>
Similar techniques can be used in ASP.NET and PHP.
- Timo
"guy" <gu*@discussions.microsoft.comwrote in message
news:DD**********************************@microsof t.com...
>I am not a web developer so this is probably easy!
in a web app i have a login page
if a user logs in, does stuff, logs out - which takes them back to the
login
page - how do i stop a new user hitting 'back' from the login page and
seeing
the last page the previous user was looking at (this could be any page in
the
application)?