Re: Distinguishing between a mouse click and a refresh?
| From: | Paweł Stradomski | Date: | Mon, 04 Dec 2006 21:23:16 +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-245498@lists.php.net to get a copy of this message | ||
W liście Mark London z dnia poniedziałek 04 grudnia 2006 22:03:
> 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.
Perhaps looking at REFERER HTTP header could give you some information, but
you cannot fully trust this header, as it might not be sent, or be malformed.
--
Paweł Stradomski