|
Posted by AD7six on 11/23/05 10:15
Try this in your import image script.
//**** Lots of headers to ensure the image is not cached.
// Date in the past
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
// always modified
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
// HTTP/1.1
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
// HTTP/1.0
header("Pragma: no-cache");
//**** End of crappy headers.
It's not my own work, and I don't remember where I got it from but it
worked for me for a similar application.
Regards,
AD7six
[Back to original message]
|