Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Page loses data in fields

Status
Not open for further replies.

mkyzar

Programmer
Oct 19, 2000
56
US
I have an application written in CF 4.5 that when a user enters data into a form and submits it with an error, a page is displayed listing the errors and what they must do to fix it. They are then instructed to go back by way of a button on the page to the previous screen to correct their errors. I have one user that when they do this loses everything they have typed onto the form and must start again from scratch entering their data. I don't know if this is a CF issue or not, but I've checked CF settings and browser settings and so far have come up with nothing as to why this is happening. It does not happen anywhere else. She is running IE6 on XP Pro. Any suggestions?

TIA for your help,

mkyzar
 
To Ecobb's credit in a prior post

Ecobb said:
This is a known issue, it is the default behavior of CF. It can be controlled with cfheader tags. Put this line of code in your application.cfm page and it will take care of the problem.


<!--- fix back button bug: macromedia known issue # 46095,48216 --->
<cfheader name="cache-control" value=7200>


Hope This Helps!

Ecobb

Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so.
-Douglas Adams (1959-2001)
 
Thanks so much for your response. Unfortunately, I tried that earlier and it did not work. Do you think there may be some setting somewhere that I've overlooked?

Thanks again,

mkyzar
 
what type of button are you using?

Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so.
-Douglas Adams (1959-2001)
 
<input type="button" onClick="history.go(-1)" value="HERE"> Like I mentioned before, it is only one user who is having this problem that's why I am not sure this is a CF issue.

mkyzar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top