Click here to Skip to main content
15,911,482 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I've created a Poll user control using asp.net
Anonymous visitors will vote in this poll

I need to prevent visitor from voting multiple times

I cannot identify visitors by IP addresses, because:

1- Most of visitors have dynamically-allocated IP addresses, then may the same visitor has different IP address the next time he visits the website

2- All visitors of a network may have the same IP address

So I'm currently save a unique GUID key for the visitor in cookies, but the problem is that visitor may delete cookies, and also when something forced app domain to be restarted, cookies will be lost

Any better ideas.

Thanks in Advance.
Posted
Updated 19-Jul-11 19:38pm
v3

 
Share this answer
 
Comments
Ahmad Safwat 20-Jul-11 1:07am    
Thanks alot Prerak
Espen Harlinn 20-Jul-11 19:13pm    
That answer, on stackoverflow, was well written - my 5
It looks you're completely right in your reasoning. You don't identify the user, that's it.

Whatever you do, you cannot prevent the situation when a user goes to the demo hall of the store, takes a computer connected with the internet (this situation is very usual; I used this possibility sometimes) and vote there. There is nothing which you can use to identify this person as the one who already voted. Technically, this is the new person.

Conclusion:
there is nothing you can do unless you could use biometrics, which is not realistic.

—SA
 
Share this answer
 
Comments
Ahmad Safwat 20-Jul-11 1:08am    
Thanks alot SAKryukov
Sergey Alexandrovich Kryukov 20-Jul-11 2:01am    
You're welcome.
--SA
You have to question your original assumption of not making the users register or identify themselves.

I think an interesting solution that is starting to appear in more places is to let a person log into msn, or facebook, or windows live or whatever, through your site.

Then use that identity to track votes.

It puts the effort of verifying a true identity onto a resource with more horsepower than any of us can hope to create with our own procedures.
 
Share this answer
 
Comments
Ahmad Safwat 20-Jul-11 1:23am    
Thank you, it's a greate idea
Sergey Alexandrovich Kryukov 20-Jul-11 2:03am    
But how? By name? Nickname? Spelling mistakes? What's the user's footprint at the poll? Anonymous is anonymous. Cannot get your idea. Could you explain it?
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900