Re: browser reload button
| From: | Jim Lucas [php] | Date: | Thu, 14 Feb 2002 18:48:11 +0000 |
| Subject: | Re: browser reload button | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-84787@lists.php.net to get a copy of this message | ||
about the only way I could think of doing something like this, is to create
a unique value for each link on a page and take on to the end of each link
for each page. then do a select to find out if that unique value has been
entered already. if you use an MD5 hashing method and combine that with a
unique sessions value, you can pretty much be certain that you wouldn't get
two of the same anytime in the near future.
Jim Lucas
----- Original Message -----
From: "Rodrigo Peres" <rperes@mac.com>
To: "PHP" <php-general@lists.php.net>
Sent: Thursday, February 14, 2002 7:03 AM
Subject: [PHP] browser reload button
> Hi list,
>
> I've made a log to my site, that counts the hits per page. My problem is,
> there is some way to detect when the user presses the reload button?? I
need
> this, or other suggestion, in order to prevent the log to input data for
the
> reload, that isn't a real visit.
>
> My script is just a insert into a table, and I put it in the beggining of
my
> page with require();
>
> Thank's in advance
>
> Rodrigo Peres
> --
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>