I have a web JSP/Servlet web app where a user logs-in and search on the data, while searching data. if user presses back button on Internet explorer window "webpage expires !" pops-up but when user refreshes the page it reloads again. Instead if the refresh is clicked I want to end the users session take it to the login page. Also if the user comes on the login page and at that point if pressing forward button I want to keep on the login page until the user explicitly logs-in again. Any help is appreciated. Thanks