[thelist] Forcing a refresh
Seth Bienek - Web Consultant
sbienek at acep.org
Wed Mar 22 15:17:44 2000
Hi Katie,
Based on what you told me, I am thinking that maybe a refresh is not exactly
what you need; You can force a browser to load a fresh page from the server
by adding these lines in the <head> portion of the document:
<!--- Sets the document to expire in the past. Should clear the cache and
force a reload --->
<CFHEADER NAME="Expires" VALUE="12 Nov 1994 08:49:37 GMT">
<!--- On HTTP 1.0 servers, stops the browser and/or proxy from caching the
document.
Does not work on 1.1 servers --->
<CFHEADER NAME="Pragma" VALUE="no-cache">
<!--- On HTTP 1.1 servers, stops the browser and/or proxy from caching the
document.
Also forces form elements to be re-examined.--->
<CFHEADER NAME="cache-control" VALUE="no-cache, no-store, must-revalidate">
If I'm on the wrong track here, let me know and I'll re-think. But I
believe this is what you were looking for.
This should take care of the IE5 issue as well.
Happy Coding,
Seth
_____________________________
Seth Bienek
Independent Cold Fusion Developer
"Confucius say: Do unto others what you think is funny."
-----Original Message-----
From: Howell, Katie [mailto:Kathleen.Howell-1@kmail.ksc.nasa.gov]
Subject: RE: [thelist] Forcing a refresh
Basically, a form is retrieved with the form fields filled out (info
outputed from the database for edit). If a field using a select box is
changed then updated, when the page displays again it shows the original
value. Only when you right click--refresh or click on the browser refresh
button does the form update completely.