Re: Unsetting a header

From: Date: Sun, 21 Oct 2007 20:02:27 +0000
Subject: Re: Unsetting a header
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-263477@lists.php.net to get a copy of this message
Richard Heyes wrote:
admin@buskirkgraphics.com wrote:
Try this never gives me a problem. I use it to keep proxy servers from caching.
But I want the page to be cached...
Maybe I'm being dense, but why not set it to what you want it to be? Clearing it is leaving the decision up to the browser which will not necessarily have the effect you want for all users. Incidentally, it might not be possible if Apache is setting it. Not sure if PHP has the ability to override headers being sent by Apache. -Stut -- http://stut.net/

« previous php.general (#263477) next »