Re: cache control at client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alf

I had a similar problem trying to expire pages so that the user received
a "Page Expired" message when they clicked on the back button. I
discovered that if you set Cache-control to no-cache then Firefox/IE
ignore the expires date. The solution that I got working on IE7 was to
set Cache-control to must-revalidate and Expires to 1 second into the
future.

Firefox still didn't do what I wanted and I didn't test IE6.

   Rich

PS: I was doing this through HTTP headers.

On Thu, 2007-04-12 at 13:57 +0200, Alf Stockton wrote:
> I have set:-
> <meta http-equiv="cache-control" content="no-cache">
> <meta http-equiv="expires" content="Mon, 22 Jul 2000 11:12:01 GMT"
> in the header are of all my pages but still until the user does a reload 
> in both IE & Firefox they do not see the new screen.
> Please tell me what else I can do to force the browser to not cache 
> anything ever.
> I am not in a position of altering the client browser settings despite 
> this being an intranet system.
> 
> -- 
> Regards,
> Alf Stockton		www.stockton.co.za
> 
> Q:	What's yellow, and equivalent to the Axiom of Choice?
> A:	Zorn's Lemon.
> My email disclaimer is available at www.stockton.co.za/disclaimer.html
> 
-- 
Rich Buggy
rich@xxxxxxxxxxx
http://www.buggy.id.au/

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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux