I have written 3 php scripts for user login, mainpage and logout. When the user submits the login form it athunticates the user, if he is a valid user then it will redirect the user to main page. In the main page i have used the href tag for logout which unsets the user session. After user logged out if he presses 'back' navigator button on the browser page then it is showing the mainpage which should not be shown after user logout. How to handle this?
thanks in advance
thanks in advance
Comment