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

From: Date: Mon, 02 Apr 2001 03:17:02 +0000
Subject: Re: header() vs. no cache, it doesn't work.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-46547@lists.php.net to get a copy of this message
> >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 quotes. > > > 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???? bkx

« previous php.general (#46547) next »