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

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] ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-23-2003
Jay Blanchard
 
Posts: n/a
Default RE: [PHP] Logged Out of Seesion, Then use back button

[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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:52 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0