Forum Moderators: coopster

Message Too Old, No Replies

browser cache probleme

doesnt work

         

c0nsur

6:46 pm on Aug 25, 2003 (gmt 0)

10+ Year Member



hi guys
im ovewritting an image from a php file in the server
so the name stays the same
image.jpg remains image.jpg

how would i force the browser to reload the new image


header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // alwaysmodified
header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache"); // HTTP/1.0

already got that but it doesnt work

/*However, previous loaded image files displayed to screen are not cleared on consecutive reloads after an update */

jamie

8:11 am on Aug 26, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



it may be an ISP proxy server which caches the images itself (your service provider) - i know telefonica does that in spain.

try Ctrl and Refresh.