I am using jsp and jquery.
After logging in, the home page is displayed, but when I click on the back button of browser, it show me log in page again.
When I click on the back button, I want it to redirect to the home page, like GMail does.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Simply check if someone is logged in at the login page, and if so redirect to the homepage. No magic necessary here.