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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFGrid refresh browser to view edits

Status
Not open for further replies.

pathetic

Programmer
Dec 3, 2004
74
US
Any suggestions...

I have an editable CFGrid, queries from Access 2002 database. When a cell has been edited and after "submit" you must select "refresh" from browser menu in order for edits to become apparent. Is there anyway around this? I would prefer the browser automatically refreshes every time user hits "submit"

Works without problem locally, only encountered this when testing in sandbox environment on webserver... testing for launch.

Thank you
 
I could be wrong but it sounds like the browser is caching the page (assumung submit actually submits the page) if so try the following to prevent the browser from caching the page - this is what i use

<!--- include in head tag to prevent page caching --->
<!--- may have issues if using cflocation/cfflush --->
<meta http-equiv="Expires" content="Mon, 01 Jan 1970 23:59:59 GMT">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate">
<cfheader name="Pragma" value="no-cache">
<cfheader name="cache-control" value="no-cache, no-store, must-revalidate">

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top