[PHP] PHP, Cache Control and Mac IE

2004-02-18 Thread Roger Spears
Hello List,

I am using the following in a PHP 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-store, no-cache, must-revalidate);
header(Cache-Control: post-check=0, pre-check=0, false);
header(Pragma: no-cache);
Most browsers will prompt the visitor to reload the data, but if a 
visitor is using IE 5.? on a Mac OS X machine, their browser's back 
button still shows them the original page from cache.  At the top of the 
page, in HTML, I've also added (along with the above headers):

META HTTP-EQUIV=Cache-Control CONTENT=no-store, no-cache, 
must-revalidate
META HTTP-EQUIV=Pragma CONTENT=no-cache
META HTTP-EQUIV=Expires CONTENT=0

and still, the browser pulls from the cache.

I'm guessing this is a bug, but I'm wondering if any one has a work around?

TIA,
Roger
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] PHP, Cache Control and Mac IE

2004-02-18 Thread Gareth Williams
Hello Roger,

If you find a solution, I would also be interested to to see it.  I 
have tried almost everything to get Mac IE to not use the cache.  It 
just doesn't seem to accept anything.

On 18 Feb 2004, at 18:58, Roger Spears wrote:

Hello List,

I am using the following in a PHP 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-store, no-cache, must-revalidate);
header(Cache-Control: post-check=0, pre-check=0, false);
header(Pragma: no-cache);
Most browsers will prompt the visitor to reload the data, but if a 
visitor is using IE 5.? on a Mac OS X machine, their browser's back 
button still shows them the original page from cache.  At the top of 
the page, in HTML, I've also added (along with the above headers):

META HTTP-EQUIV=Cache-Control CONTENT=no-store, no-cache, 
must-revalidate
META HTTP-EQUIV=Pragma CONTENT=no-cache
META HTTP-EQUIV=Expires CONTENT=0

and still, the browser pulls from the cache.

I'm guessing this is a bug, but I'm wondering if any one has a work 
around?

TIA,
Roger
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php