Results 1 to 2 of 2
  1. #1
    bhupendra is offline Member
    Join Date
    Aug 2008
    Rep Power

    Default Warning: Page has Expired on click of back button

    I have used the code to stop caching which is working fine

    response.setDateHeader("Expires", 0); /

    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.

  2. #2
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Rep Power


    Quote 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.

Similar Threads

  1. Go back to previous page using session in JSP page
    By gopikarikati009 in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 06-23-2011, 11:30 AM
  2. Back button
    By Tokajac in forum Web Frameworks
    Replies: 1
    Last Post: 11-27-2008, 06:27 AM
  3. Replies: 21
    Last Post: 08-01-2008, 12:13 PM
  4. warning that page has expired and i need to refresh the page again
    By 82rathi.angara in forum JavaServer Pages (JSP) and JSTL
    Replies: 5
    Last Post: 07-15-2008, 02:48 PM
  5. warning: page has expired
    By Peter in forum Web Frameworks
    Replies: 2
    Last Post: 07-04-2007, 08:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts