> I have a problem with the cache in Internet Explorer version 6.0
>
> When I put these lines in the page
>
> header ("Expires: Mon, 1 Jan 1997 01:00:00 GMT");
> header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
> header ("Cache-Control: no-cache, must-revalidate");
> header ("Pragma: no-cache");
>
> Internet explorer stills make the cache to the page, is there any
> solution to these problem and how is it?

These are the headers I send when I want to prevent any caching:

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

These work fine for me in all browsers.

HTH,
Edward


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

Reply via email to