Re: Distinguishing between a mouse click and a refresh?

From: Date: Tue, 05 Dec 2006 18:44:30 +0000
Subject: Re: Distinguishing between a mouse click and a refresh?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-245531@lists.php.net to get a copy of this message
On Mon, December 4, 2006 3:03 pm, Mark London wrote: > Is there any way for PHP to know whether it is being called due to a > browser refresh versus a mouse click? I think the answer is no but I > just want to be sure. Thanks. You could embed a random token in all your links and input forms, and if they re-use a token, then you know they are re-loading something they have seen at some time in the past. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

« previous php.general (#245531) next »