Ask a Question related to Macromedia ColdFusion, Design and Development.
-
storserver #1
Browser Back Button and Form Data Persistence
A form on MyForm.cfm posts to PostMyForm.cfm.
While viewing the PostMyForm.cfm page, the user presses the browser's back
button and doesn't see the form data he entered.
Goal:
Display the form data either through a page refresh of MyForm.cfm or some
other method.
I've read in the forum that <CFHEADER NAME="Expires" VALUE="#Now()#">
<CFHTMLHEAD TEXT="<META HTTP-EQUIV='EXPIRES' CONTENT='NOW'>">
will solve the problem by forcing a page refresh. It didn't work for me.
Perhaps I'm putting the tags in the wrong place?
Thanks so much!!!!
storserver Guest
-
form data gone when back button is pressed
Cold Fusion _required function for formfields gives the required message, with "use back to return to form to correct these problems". I am getting... -
Browser Back button problem
Dear all I'm having a probelm concerning the security of my application. the problem is when a user is loggoed in and then he looged out i redirect... -
Browser back button and flash form expiration
The message 'The form data has expired, Please reload this page in your browser.'appears when a user navigates forwards or backwards in a flash... -
Help with Frames and the Browser Back Button...
Hi all! I think that it isn't the first time you read this question (I think it is a FAQ)....however.... .... I have a 3-frame page: left, top... -
Back button on the browser problem
Hi In my application I have a wizard and I have to make sure that user can't come back to previous page of the wizard. The problem is that is user... -
jdeline #2
Re: Browser Back Button and Form Data Persistence
You don't want to refresh MyForm.cfm. Take that header stuff out . Are all browsers behaving in the same way, or only certain brands?
jdeline Guest
-
paross1 #3
Re: Browser Back Button and Form Data Persistence
I put this just after my <body> tag and it works for me.
<cfoutput>
<cfheader name="expires" value="#now()#">
<cfheader name="pragma" value="no-cache">
<cfheader name="cache-control" value="no-cache, no-store, must-revalidate">
</cfoutput>
paross1 Guest



Reply With Quote

