I made a login system in php and every thing working fine in IE and mozilla. But in Safari and in Opera when I click sign out then it works fine and after that if I press back button in browser then it comes to the previous page (myaccount page ) and shows the contents in that page even if I logout. I used the following code for session destroy
session_start(); $_SESSION = array(); session_destroy(); unset($_SESSION['mysiteUser']); unset($_SESSION['mysiteUser']);
I am in a critical stage please help me with a right advise.
Thanks in advance