Re: RE: browser doesn`t refresh
| From: | Ketan Shah | Date: | Thu, 23 Nov 2000 09:26:06 +0000 |
| Subject: | Re: RE: browser doesn`t refresh | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26916@lists.php.net to get a copy of this message | ||
I was having the same problem but I got the reply from Jon Tai which sorted
out the problem in IE5.
Add the following lines at the start of the page.
header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date
in the past
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); //
always
modified
header ("Cache-Control: no-cache, must-revalidate"); //
HTTP/1.1
header ("Pragma: no-cache");
// HTTP/1.0
See the PHP manual, "Function Reference => HTTP Functions => header" for
more information.
Ketan
----- Original Message -----
From: Daniel Alsén <daniel@innehallsbolaget.com>
To: PHP <php-general@lists.php.net>
Sent: Friday, November 24, 2000 2:14 PM
Subject: RE: [PHP] RE: browser doesn`t refresh
> It IS a problem with IE5.5. However i was able to solve with fiddling in
the
> settings. I have tried to remember what i did - but can´t. Go check your
> Internet Options in IE and other settings. It is in there somewhere...
>
> You could also hold down the ctrl-key while clicking refresh. That flushes
> the whole page out before refreshing. But that´s just a workaround...
>
> - Daniel
>
> > I have experienced the same thing with IE5.5 I think it is a
> > browser flaw.
> > The way I have found around it is to put a url parameter on and
> > that forces
> > it to reload e.g.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>