I'm having trouble getting IE not to cache image files on a particular page.
I have a page where image files can be uploaded and overwrite existing files 
(similar to a Myspace type page that displays your picture; you can upload 
another gif or jpg via form field, submit, and then page refreshes).  The file 
uploads, but the browser is still caching; the refreshed page still shows the 
old image file.

In order to prevent browser caching of image files, I've used

<cfheader name="Expires" value="#GetHttpTimeString(Now())#">, and also added

<cfheader name="Pragma" value="no-cache">
<cfheader name="cache-control" value="no-store">

for good measure.  Firefox seems to respond to this, but not IE(7).  Am I doing 
something wrong, or is IE just a less than optimal browser?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276812
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to