TARDEC
asked on
Firefox is unwantedly caching form data on page refresh
I am creating a page with a form on it for user input. When the form is submitted, the page refreshes with new information on it based upon the user's submitted data. Unfortunately, firefox somehow caches the user inputted data and it overrides the new data that should be displayed. A ctrl+f5 refresh takes care of the problem, but this workaround is not acceptable to my customer.
How can I clear out the cached values on page reload to avoid this problem?
How can I clear out the cached values on page reload to avoid this problem?
ASKER
When the form is submitted, it pops up a page that is the processing page. This page then has an onload function set to onLoad="window.opener.loca tion.reloa d();window .close();"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Forced accept.
Computer101
EE Admin
Computer101
EE Admin
try to add some random parameter (like timestamp in miliseconds) to your url
instead of submit.jsp give it submit.jsp?xx=123424532 where xx is just a bogus parameter with some random value