Warning: Page has Expired

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Warning: Page has Expired

    Hi, I get the following message when the back-button is clicked
    "Warning: Page has Expired". This message only appeared after I used
    the following line of code.

    Page.Response.Expires = 20;


    Is there any way to avoid that message and still use the power of the
    Cache.

    - Thanks
    Coder Coder Guest

  2. Similar Questions and Discussions

    1. Page Has Expired Message in between the php Page When I click Back in Explorer Menu
      Could anyone please help me on this?? I have a php script page, which is basically quiz. Visitors (after login in with their email address) are...
    2. Page has expired -problem
      Hi! I have Windows XP&IE6.0.2... (SP1). I'm coding one project with PHP. I get "Warning: Page has Expired" when I try to get back to the "POSTed...
    3. [PHP] Warning - Page has expired error
      Use get instead of post. for the request method. Then please make sure that you are not sending any expires headers in your code. all the best ...
    4. Prevent 'Page has expired' when a client hits back to return to a search page
      I have a search page that I want to enable private caching so that when a user hits the back button they dont get the page has expired error. I...
    5. Warning Page Has Expired, I need to turn it OFF for a simple search page
      You can't turn it off. If you understand the reason for it, then you know that the Back button or Refresh button of a browser makes a new request...
  3. #2

    Default Re: Warning: Page has Expired

    you won't get that error if there is server side activity. increase the
    timeout
    "Coder Coder" <coder5811@yahoo.com> wrote in message
    news:f547ce3b.0307291315.39c9d80d@posting.google.c om...
    > Hi, I get the following message when the back-button is clicked
    > "Warning: Page has Expired". This message only appeared after I used
    > the following line of code.
    >
    > Page.Response.Expires = 20;
    >
    >
    > Is there any way to avoid that message and still use the power of the
    > Cache.
    >
    > - Thanks

    Alvin Bruney Guest

  4. #3

    Default Warning: Page has Expired

    After researching this problem through the archives. I have found numerous
    fixes for this issue of which none have worked for me. I'm running ColdFusion
    Server Enterprise 7,0,0,91690. This problem occurs after I click the back
    button on the browser to a page where a form was submitted. This is a recent
    problem that surfaced this week. Last week this was not an issue. We did not
    upgrade or anything. My users are going ape-crap about this.

    I have tried the following tags that I have found in forums:

    <cfheader name="cache-control" value="Public">
    <CFHEADER NAME="Cache-Control" VALUE="max-age=7200">
    <CFHEADER NAME="cache-control" VALUE="private">
    <CFHEADER NAME="cache-control" value=7200>

    None have worked for me.

    Some one recommended using the code below and the user said it fixed the
    problem. It did not for me:
    <CFHEADER NAME="Cache-Control" VALUE="max-age=7200">
    <cfcache action="CLIENTCACHE" timespan="#CreateTimeSpan(0,1,0,0)#">

    This seems to be a known issue my Macromedia. They said it was fixed in
    updater3 of cf mx 6.1 but did they screw up and not have the fix in the 7.0s?

    I'm running my apps on cf mx on a linux box. I don't have access to the
    administration of the machine.

    Any suggestions would be great.
    Thanks
    Dave



    david_sternberg Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139