Re: manual vs. meta refresh

From: Date: Sat, 11 Aug 2007 16:34:21 +0000
Subject: Re: manual vs. meta refresh
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-260693@lists.php.net to get a copy of this message
At 2:10 AM +0200 8/11/07, Tijnema wrote:
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
No, this is a test and we shouldn't look off other's test sheets -- that would be cheating. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#260693) next »