Re: [PHP] header() vs. no cache, it doesn't work.

2001-04-02 Thread Scott Fletcher
That one doesn't work either. Scott ""Scott Fletcher"" [EMAIL PROTECTED] wrote in message 9a2sdc$6t0$[EMAIL PROTECTED]">news:9a2sdc$6t0$[EMAIL PROTECTED]... 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")

Re: [PHP] header() vs. no cache, it doesn't work.

2001-04-01 Thread Stuart J. Browne
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"); ### oops, don't forget to escape these! ^ ^ Umm, why would he need to escape those two "'s? They arn't within anothe set of

[PHP] header() vs. no cache, it doesn't work.

2001-03-30 Thread Scott Fletcher
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

Re: [PHP] header() vs. no cache, it doesn't work.

2001-03-30 Thread Brian S. Dunworth
At 04:03 PM 3/30/01 -0500, Scott Fletcher wrote: 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"); ### oops, don't forget to escape these! ^ ^ header("Cache-Control: no-cache,