Re: manual vs. meta refresh
| From: | Tijnema | Date: | Sat, 11 Aug 2007 00:10:24 +0000 |
| Subject: | Re: manual vs. meta refresh | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260663@lists.php.net to get a copy of this message | ||
On 8/11/07, Richard Lynch <ceo@l-i-e.com> wrote:
> On Fri, August 10, 2007 1:26 pm, Kevin Murphy wrote:
> > I doubt this, but is there any way to determine via PHP if a browser
> > was refreshed automatically via a META tag vs the person clicking the
> > refresh button?
>
> You could embed something in the META tag's URL such as:
>
> <meta http-equiv="refresh"
> content="5;http://example.com?from_meta_tag=1" >
>
> You would then need to re-direct back to the URL *without* the GET
> parameter from_meta_tag=1 so that their refresh button would not be
> going to that URL with from_meta_tag in it.
>
> Kind of kludgy, but should work
>
Do you guys read other replies first before making a reply yourself?
You're the third one making the same reply...
Tijnema
--
Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info