House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

page has expired Message

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Whittingham, P
05/26/2004 07:03 AM

Hi All,   Has anyone found a solution concerning the message (warning: page has expired), when one clicks the back button or go(-1). I've tried the following with no success.: <cfcache action="CLIENTCACHE" timeout = "#DateAdd("h", "-1", Now() )#"> or <CFHEADER NAME="Expires" Value="Sun, 06 Nov 1994 08:49:37 GMT"> <CFHEADER NAME="Cache-Control" VALUE="max-age=7200"> TIA, Patrick Whittingham United Space Alliance   _____  

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jochem van Dieten
05/26/2004 07:07 AM

Whittingham, P wrote: >   >   Has anyone found a solution concerning the message (warning: page has expired), when one clicks the back button or go(-1). Was the page originally sent as the result of a GET or a POST request? Jochem

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Stan Winchester
05/26/2004 01:33 PM

Try passing the values back to the same page, and provide a message asking the user not to use the browser back button, but use the button provided as shown below: <form action="[some page]" method="post"> <cfoutput> <cfloop collection="#form#" item="fieldName">   <input type="hidden" name="#fieldName#" value="#form[fieldName]#"> </cfloop> </cfoutput> <input type="Submit"   name="goback"   value="Go Back"> </form> > > Has anyone found a solution concerning the message (warning: page has > expired), when one clicks the back button or go(-1). I've tried the > following with > no success.:

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Robertson-Ravo, Neil (RX)
05/26/2004 07:10 AM

You will always get this message if you are moving back to page which in itself was a form post (as the data to form this page does not techincally exists in the back request). There is no solution as far as I know....its by design.    _____ Sent: 26 May 2004 12:01 To: CF-Talk Subject: page has expired Message Hi All,   Has anyone found a solution concerning the message (warning: page has expired), when one clicks the back button or go(-1). I've tried the following with no success.: <cfcache action="CLIENTCACHE" timeout = "#DateAdd("h", "-1", Now() )#"> or <CFHEADER NAME="Expires" Value="Sun, 06 Nov 1994 08:49:37 GMT"> <CFHEADER NAME="Cache-Control" VALUE="max-age=7200"> TIA, Patrick Whittingham United Space Alliance   _____    _____  

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Whittingham, P
05/26/2004 07:21 AM

post method. some of the form data is sensitive or more that 4k in length (lots of form elements). I been trying all the different method via google..... Pat Whittingham, P wrote: >   >   Has anyone found a solution concerning the message (warning: page has expired), when one clicks the back button or go(-1). Was the page originally sent as the result of a GET or a POST request? Jochem   _____  

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jochem van Dieten
05/26/2004 07:34 AM

Whittingham, P wrote: > post method. Responses to POST requests are only cacheable in special circumstances. The recommended workaround is not to send the response directly, but forward the user to another page that can be cached. See the HTTP 303 statuscode in RFC 2616. Jochem

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Whittingham, P
05/26/2004 07:37 AM

i am using w2k servers,ie 6 and http1.1... Whittingham, P wrote: > post method. Responses to POST requests are only cacheable in special circumstances. The recommended workaround is not to send the response directly, but forward the user to another page that can be cached. See the HTTP 303 statuscode in RFC 2616. Jochem   _____  


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

February 09, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       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