View Single Post
  #1 (permalink)  
Old 08-27-2008, 12:47 PM
bhupendra bhupendra is offline
Member
 
Join Date: Aug 2008
Posts: 1
Rep Power: 0
bhupendra is on a distinguished road
Default Warning: Page has Expired on click of back button
I have used the code to stop caching which is working fine

response.setHeader("Cache-Control","no-cache");
response.setHeader("Cache-Control","no-store");
response.setDateHeader("Expires", 0); /
response.setHeader("Pragma","no-cache");

But the problem is ...
Whenever a user is logged in to application and presses the back button the browser opens with a message


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.


how can i allow the user to see all the jsp pages on back button if he has not logged out.
Reply With Quote