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

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

Preventing a REFRESH

  << 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:
Robert Orlini
05/26/2004 08:57 AM

I know this was touched on before and I re-read the thread but did not find my answer. I need a way to prevent the browser's refresh from re-submitting info. Is there a way via CF or JavaScript? anyone have something already please? Thanks. Robert HWW

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

Robert Orlini wrote: > I know this was touched on before and I re-read the thread but did not find my answer. I need a way to prevent the browser's refresh from re-submitting info. Is there a way via CF or JavaScript? anyone have something already please? Use POST instead of GET as the request method. See the section about idempotent requests in RFC 2616. Jochem -- I don't get it immigrants don't work and steal our jobs      - Loesje

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Tangorre, Michael
05/26/2004 09:01 AM

> I know this was touched on before and I re-read the thread > but did not find my answer. I need a way to prevent the > browser's refresh from re-submitting info. Is there a way via > CF or JavaScript? anyone have something already please? Set a variable: session.ranAlready = "false" Check to make sure session.ranAlready NEQ "true" Run code Set variable: session.ranAlready = "true" Just remember to find a point to clear out the session var... HTH, Mike


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