Re: header() vs. no cache, it doesn't work.
| From: | Scott Fletcher | Date: | Mon, 02 Apr 2001 19:51:29 +0000 |
| Subject: | Re: header() vs. no cache, it doesn't work. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46668@lists.php.net to get a copy of this message | ||
That one doesn't work either.
Scott
""Scott Fletcher"" <scott@abcoa.com> wrote in message
news:9a2sdc$6t0$1@toye.p.sourceforge.net...
> When I use this script
>
> 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-cache, must-revalidate");
> header("Pragma: no-cache");
>
> Next, I browse around and go back one page, the cache does not expire.
> Sometime I get the error messages said that the header had already start
or
> something. So, what is the other way around to fix this problem????? Or
> how can I fix it????
>
> Thanks,
> Scott
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>