This is a discussion on RE: [PHP] Logged Out of Seesion, Then use back button within the PHP General forums, part of the PHP Programming Forums category; [snip] 1) How can I prevent the use of the browser "back" button after someone logs out? [/snip] ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
[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 |