Re: Distinguishing between a mouse click and a refresh?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux