Good day and thanks for your forum. I am creating a php script that runs a session. I can login to the session from the login page and when I run my logout script it takes me to the Goodbye page. However, when I click the back button on the browser after I get to my Goodbye page it takes me back to the previous page as if I were still logged in. How can I fix this issue? Below is the logout script as given by php.net. On the Goodbye page, I also have tried using the standard logout like session_unset and session_destroy and redirect to the login page. When I am redirected to the login page and click the browser next button it takes me back to the previous page as if I was still logged into it.
What I have tried: