I am using struts framework, after log out when i pressed browser back button it is going to last opened page. How to send it to log in page?
Actually i want solution in java not in javascript.
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.
I believe you must be having a security filter to intercept all incoming requests. If not you need to have one to authenticate user session. Here on failure you can forward to login page.
Also check if the page is rendered from browser cache. If so you can set no-cache in the header of the JSP.