Re: Internet Explorer Caching

From: Date: Wed, 29 Aug 2007 18:56:07 +0000
Subject: Re: Internet Explorer Caching
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-261483@lists.php.net to get a copy of this message
Yes, I'm sure. Changes I make to a database are reflected in the database but not on the form. It's only IE. It works fine in FireFox or SeaMonkey. Charlene Richard Heyes wrote:
Charlene wrote:
I've been having problems with Internet Explorer caching php programs. I'm using the following code:
       header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
       header("Pragma", "no-cache");
       header("Expires", "-1");
And it used to work, but now, according to Windows Explorer its giving it 3 hours to expire.
Are you sure? By default PHP pages/scripts don't send any caching headers and hence don't get cached. You can check this using: http://www.fiddlertool.com


« previous php.general (#261483) next »