Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-27-2008, 11:47 AM
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.
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 08-27-2008, 07:42 PM
fishtoprecords's Avatar
Senior Member
 
Join Date: Jun 2008
Posts: 571
Rep Power: 2
fishtoprecords is on a distinguished road
Default
Originally Posted by bhupendra View Post
... created using information you submitted in a form.
Read exactly what the message says. The wording is important. You can not "back" up to a page that was created using a POST command.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Back button Tokajac Web Frameworks 1 11-27-2008 05:27 AM
i click on it,then first time error page comes,second time click then product page co 82rathi.angara New To Java 21 08-01-2008 11:13 AM
warning that page has expired and i need to refresh the page again 82rathi.angara JavaServer Pages (JSP) and JSTL 5 07-15-2008 01:48 PM
Go back to previous page using session in JSP page gopikarikati009 JavaServer Pages (JSP) and JSTL 0 04-27-2008 04:38 AM
warning: page has expired Peter Web Frameworks 2 07-04-2007 07:45 AM


All times are GMT +2. The time now is 03:56 AM.



VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org