Hi All,
I have earlier posted the topic regarding the session handling. But, right now I am facing the major issue with the back button handling or we can say Caching. I am using the below mentioned code:
response.setHeader("Cache-Control","no-store"); //HTTP 1.1
response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
response.setHeader("Pragma\"","no-cache"); //HTTP 1.0
response.setDateHeader ("Expires", 0); //prevents caching at the proxy server
JSPsession.invalidate();
And then I am forwarding to next
JSP. But on pressing the back button I am still getting the older page. PLease guide me how to handle this situation.
Basically I have to logout from the session and do not want to enter the previous page.
Thanks and Regards,
Abhinav Singhal