Christophe Maso wrote:
> 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.

Instead of messing with HTTP headers, just append a random variable to 
the image URL: <img src="image.gif?638232" />

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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

Reply via email to