RE: [PHP4BETA] Re: [PHPLIB] ie cache fix
| From: | Sander Pilon | Date: | Tue, 07 Mar 2000 12:49:07 +0000 |
| Subject: | RE: [PHP4BETA] Re: [PHPLIB] ie cache fix | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-11670@lists.php.net to get a copy of this message | ||
> >> We added the following to session.inc to stop IE from caching:
> >>
> >> header("Cache-Control: post-check=0, pre-check=0");
>
> I am trying on IE4.5 for Macintosh.
>
> IE4.5 is never foget Cache.
>
> Is there another way?
The 'documented' way according to the HTTP State Management RFC would be:
Header("Pragma: no-cache");
Header("Cache-control: no-cache");
And that works for IE5 and IE4.
-Sander