how to prevent resend data after press refresh button
| From: | TAN HENG CHAN | Date: | Fri, 05 Dec 2003 09:59:15 +0000 |
| Subject: | how to prevent resend data after press refresh button | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-22326@lists.php.net to get a copy of this message | ||
I have main login page (index.php) which have 2 field user id and password, after key in User ID and
Password, i will register the user id as as session variable, then page will redirect to
process.php, and in this page i have a logout button which will redirect to logout.php and do:
session_unset(); and session_destroy();.
After logout, i right click on back and click on index.php the page expired message appear and i
press refresh button and the alert came out and ask for resend data and i press yes to resend data,
the page will directly goto process.php and not remain on index.php, how can i make it stay on
index.php, please help
---------------------------------
Do you Yahoo!?
Free Pop-Up Blocker - Get it now