Hi!
I have a big problem when logging out on my password protected site. I have a main page where the login information is posted to, checked with the database and where the "secret" information is also displayed. On the page is also a link to a logout page. The logout page works like this:
session_start();
$_SESSION = array();
session_destroy();
Header("Location: ./");
But I can still click the "Back" button on my browser and repost the data to the main page and login again! How can I avoid this? Do I have to reset the cache or something?
I'll be grateful for all help!