Clearing Browser History to Get More Clicks!

Post your Click counter digestion problems here
Post Reply
acilegnaj
Posts: 16
Joined: Sat Jan 03, 2015 10:42 pm

Clearing Browser History to Get More Clicks!

Post by acilegnaj »

Script URL: http://www.500dollarlinks.com/contests/ ... /index.php
Version of script: 2.1.1
Hosting company: Interserver.Net
URL of phpinfo.php: 7
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

There is a issue with this script. Not sure if it was corrected in the newer version.

The issue is: When settings are set to only count 1 unique click every 24 hours, I found that a user can simply clear their browser's history to get more clicks. At least when they are using FireFox.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Clearing Browser History to Get More Clicks!

Post by Klemen »

That's because clearing history also clears cookies and CCount relies on cookies to count unique clicks.

Unfortunately, there's no reliable simple way around it. If you want to count clicks more reliably you would have to come up with a more complex and multi-source way of tracking uniques.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
acilegnaj
Posts: 16
Joined: Sat Jan 03, 2015 10:42 pm

Re: Clearing Browser History to Get More Clicks!

Post by acilegnaj »

Hello,

Instead of tracking clicks using cookies, how about the IP address ONLY?

How hard or easy would it be to modify the script to allow this feature?

Angelica J.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Clearing Browser History to Get More Clicks!

Post by Klemen »

You'd have to completely rewrite it and use a database such as MySQL.

Note that IP tracking is very unreliable (most client IPs are dynamic and change over time) and also very easy to circumvent.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
acilegnaj
Posts: 16
Joined: Sat Jan 03, 2015 10:42 pm

Re: Clearing Browser History to Get More Clicks!

Post by acilegnaj »

Hello,

Thanks for the information. I have decided not to modify the script. Well, I already added the feature which allows clicks to have a start and stop period. I think that's enough at least for now.

Regards,
Angelica J.
Rablo
Posts: 2
Joined: Tue Apr 21, 2020 2:59 pm

Re: Clearing Browser History to Get More Clicks!

Post by Rablo »

Better not to modify it in my opinion
Post Reply