I am new to PHP and am having problems with no-cache headers, I have the
following code added as the first line of code in the page...

header("Expires: Mon, 01 Jan 1997 00:00:00 GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Pragma: no-cache");

A combination of no-cache headers usually does the trick, well in ColdFusion
anyway :o), yet this code still shows the wrong images after an upload until
a refresh of the browser is performed. Have I done something wrong or are
headers not very reliable in PHP?


Phil Ewington - Technical Director
43 PLC
35 Broad Street, Wokingham
Berkshire RG40 1AU
T: +44 (0)118 978 9500
F: +44 (0)118 978 4994
W: http://www.43plc.com

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to