Newbie question...
| From: | Viral Shah | Date: | Sat, 19 Aug 2000 05:40:20 +0000 |
| Subject: | Newbie question... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-12564@lists.php.net to get a copy of this message | ||
Hi!
I am trying to implement a login/logout feature in our website. When the user is done with what
he/she needs to do in the "restricted" area, they would click on the LOGOUT link. This
will destroy their cookie and open a page informing that they have been successfully logged out.
Now, if the user clicks on the BACK button on the browser, the previous page is loaded. The user
cannot perform any functions however. Clicking on any of the links in that page takes them to the
login error page.
My question is that how do I "reprocess" the previous page when they user clicks on the
BACK button, so that the code executes and checks for the cookie and redirects them to the login
error page instead of showing this page.
Any help in this regard will be really appreciated.
===
Viral Shah
viral@noeticsolutions.com