Re: [PHP] Logged Out of Seesion, Then use back button

2003-09-23 Thread CPT John W. Holmes
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, thou

RE: [PHP] Logged Out of Seesion, Then use back button

2003-09-23 Thread Jay Blanchard
[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

Re: [PHP] Logged Out of Seesion, Then use back button

2003-09-23 Thread Roger Spears
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 // always modified header("Last-M

Re: [PHP] Logged Out of Seesion, Then use back button

2003-09-23 Thread Didier McGillis
http://www.php.net/manual/en/function.header.php // 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: post-check=0, pre-check=0", false); // HTTP/1.0 header("Pragma: no-ca