Re: Forcing page refresh with http headers?
| From: | adrian murphy@2020tourism.com | Date: | Mon, 10 Mar 2003 10:56:51 +0000 |
| Subject: | Re: Forcing page refresh with http headers? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-138942@lists.php.net to get a copy of this message | ||
a trick i use is with the time() function
e.g.
$var = time();
then
header('location: .....page.php?var=' .$var);
This forces the browser to retrive the page again from the server.
might be of some use.
adrian.
----- Original Message -----
From: "Daniel Joyce" <daniel.a.joyce@worldnet.att.net>
To: <php-general@lists.php.net>
Sent: Friday, March 07, 2003 5:34 PM
Subject: [PHP] Forcing page refresh with http headers?
> I've used the HTTP Location, Expire, and Refresh headers to no effect.
> What's the magic order to....
>
> 1) Refer a browser to a new location
> 2) Ensure that the location is refreshed?
>
> I want to avoid using <meta http-equiv> tags, as this complicates things
> in the system I am designing....
>
> -Daniel
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>