Disable browsers back button if the session is invalidated [duplicate]
问题 This question already has answers here : Prevent user from seeing previously visited secured page after logout (5 answers) Closed 4 years ago . I'm working on JSP. I know there are many posts regarding this topic but nothing is working for me. I have a login page which leads to a welcome page. The session is invalidated when the user clicks on logout and is then redirected to the login page. But if the user clicks the browsers back button he is again taken to the welcome page, although if he