http://www.php.net/manual/en/function.header.php
?php
// Date in the past
header(Expires: Mon, 26 Jul 1997 05:00:00 GMT);
// always modified
header(Last-Modified: . gmdate(D, d M Y H:i:s) . GMT);
// HTTP/1.1
header(Cache-Control: no-store, no-cache, must-revalidate);
header(Cache-Control:
Sorry Didier, your suggestion did not solve the problem. I appreciate
the information though!
I'm still having the back button problem in the middle of using the
script.
Thanks,
Roger
Didier McGillis wrote:
http://www.php.net/manual/en/function.header.php
?php
// Date in the past
[snip]
1) How can I prevent the use of the browser back button after someone
logs out?
[/snip]
Set a cookie on login, unset the cookie on logout. Check for cookie, if
it doesn't exist display login mechanism.
[snip]
2) If, after a user has attained step 3, they use their back button to
change
From: Roger Spears [EMAIL PROTECTED]
1) How can I prevent the use of the browser back button after someone
logs out?
You don't. You never prevent the use of the back button. When someone logs
in, then a session should be started with some content, like you've already
mentioned. So, thoughout
4 matches
Mail list logo