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();


Matt G

--
Matthew Gonzales
IT Professional Specialist
Enterprise Information Technology Services
University of Georgia
Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Phone: (706)542-9538

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to