Link to home
Start Free TrialLog in
Avatar of sasidhar1229
sasidhar1229Flag for India

asked on

Identifying Unique Visitor Clicks

I have a requirement like this. My user can publish articles which are present in my website anywhere in the net. If somebody clicks on that link I will give my user points.

I have to uniquely identify the user machine so that if any body clicks the same post second time I will not give points to my user.

Using IP address we cannot identify, most of them are DHCP. Using cookies also we can't identify. Cookies are browser specific.

Is there any best approach to identify unique visitor machine.

I am using java 1.5
Avatar of Gurvinder Pal Singh
Gurvinder Pal Singh
Flag of India image

<<Is there any best approach to identify unique visitor machine.>>
No, unless the user is registered on your website and is logged in.

<<Is there any best approach to identify unique visitor machine.>>
Cookies are good enough in most cases.
Avatar of sasidhar1229

ASKER

But user can delete cookies and he can click again for points.

I saw somebody using this javascript. If you understand this, could you explain me?

PFA.
uniqueVisitor.txt
If you are talking about 'clientsysname'  (line 94), then it is only possible on browsers where java is enabled.

did you checked if it is working on your browsers?
Yes it's working I tried it.

clientsysname giving this value 'localhost.localdomain'. This is not unique value. Whoever uses linux will get this value.

I updated the attachment with values generated.

I think it will give you some information.

PFA.
uniqueVisitor.txt
check the same script from another system, see if it gives a different value.
Also, check if it gives a unique value for each system behind a proxy

I personally don't think it is a trustworthy solution since this value cannot be unique for every machine. Simply because there aren't as many IP addresses as number of machines, and IP addresses are expensive thing
ASKER CERTIFIED SOLUTION
Avatar of dpearson
dpearson

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi Doug,

Most of the users don't know all these. At least we can eliminate most of them.

And IP limit is also good one. I will try this approach.

Regards,
Sasidhar.