RE: [PHP] Logged Out of Seesion, Then use back button
| From: | Jay Blanchard | Date: | Tue, 23 Sep 2003 16:07:59 +0000 |
| Subject: | RE: [PHP] Logged Out of Seesion, Then use back button | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-163601@lists.php.net to get a copy of this message | ||
[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 a variables value in step 2, the new value is never saved by the
session and their original entry is used in the email. How can I adjust
for people using their "back" buttons during the individual steps of the
script?
[/snip]
You would have to disable the back button.
[snip]
3) Should the header calls appear before the session_start or after?
[/snip]
before