Hi,
I've searched through the forums and couldn't find a "working" solution to forcing the browser to download a fresh copy of an image when the page loads.
Bascially, I have a script that allows user to upload file, the script will rename the file to TEMP.JPG, so the first time the browser will CACHE this. If I UPDATE the image, it will still load the OLD version.
I've tried using:
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // some gone date
header("Last-Modified: " . gmdate ("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache"); // HTTP/1.0
But none of these work...
IS THERE A SOLUTION????
Thanks!