Re: manual vs. meta refresh
| From: | Richard Lynch | Date: | Fri, 10 Aug 2007 23:18:16 +0000 |
| Subject: | Re: manual vs. meta refresh | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260651@lists.php.net to get a copy of this message | ||
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
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?