Re: Sessions Question!
| From: | Matthew Gonzales | Date: | Mon, 12 May 2008 18:41:29 +0000 |
| Subject: | Re: Sessions Question! | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-28892@lists.php.net to get a copy of this message | ||
What function would I use to clear the browser cache.
Matt G
Matthew Gonzales
IT Professional Specialist
Enterprise Information Technology Services
University of Georgia
Email: matt323@uga.edu <mailto:matt323@uga.edu>
Phone: (706)542-9538
Alf Stockton wrote:
Matthew Gonzales wrote:So I have user restricted area to my website. The login works great with the session data being passed. I also have a logout button. I notice that when I logout I can still click the back button on the browser and you can see the previous users restricted data. How do I prevent this from happening. Below is the Script I am using to destroy the session data. //Unset all of the global variables! session_unset; //Destroy the session session_destroy();I would suggest also clearing the browsers cache.