How to get login page when user clicks on browser's back button
posted 9 years ago
I am using struts framework. I have set property nochache=true in response header of all pages. So, browser does not caches my pages.
Now,when I am clicking on browser's back button, I am getting following message..generated by browser.
Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.
To resubmit your information and view this Web page, click the Refresh button.
Instead of that I want to show user a login page, when it clicks on back button.