try using something like this <cfsetting enablecfoutputonly="yes"> <cfsetting showdebugoutput="no"> <!--- Query the database and get all the records from the Images table ---> <cfquery name="rsImages" datasource="dsImages"> SELECT ID, AlbumName, ImagePath, ImageDescription, UploadDate FROM Images </cfquery> <!--- Send the headers ---> <cfheader name="Content-type" value="text/xml"> <cfheader name="Pragma" value="public"> <cfheader name="Cache-control" value="private"> <cfheader name="Expires" value="-1"> <cfsetting enablecfoutputonly="no"><?xml version="1.0" encoding="utf-8"?> <images> <cfoutput query="rsImages"> <image> <ID>#ID#</ID> <album><![CDATA[#AlbumName#]]></album> <path><![CDATA[#ImagePath#]]></path> <description><![CDATA[#ImageDescription#]]</description> <date><![CDATA[#UploadDate#]]></date> </image> </cfoutput> </images>
>That should have read "append a random var to the request". > >You might need to append a random var to the returned string. Timestamp or >something. > >[mailto:[EMAIL PROTECTED] >Sent: Wednesday, July 25, 2007 11:45 AM >To: CF-Talk >Subject: Spry and IE Caching > >Hello Guys, > > > >First time ever using spry and I'm using the Spry.Utils.updateContent() >function to update content every few seconds in a div. This works perfectly >in Firefox but for some reason IE seems to have a common caching problem >where it'll cache the content totally ruining the point of the auto refresh. > > > >I've tried the: > > > ><cfheader name="Cache-Control" value= "no-cache"> <cfheader name="Expires" >value="0"> <cfheader name="Pragma" value="no-cache"> > > > >Fix as suggested by some people but it doesn't seem to work, can anyone >offer any advice? I know its not strictly CF, but its as near as possible. > > > >Thanks guys, > > > >Rob ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291257 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4