Forum Moderators: coopster
IP address? (but people in the same building could have the same IP address, and the whole building would only get 1 vote, which isn't right)
Clint side Cookie? refers to a single comptuer, but they can remove/block them?
any ideas?
thanks.
Ryan
You have options though:
Make users register;
Make users provide an email address which is then validated and stored in a db.
Both options arent infalible, however they both make it enough of a faff to vote multiple times, yet not so much of a hassle that the user is deterred from voting at all.
1. Use cookies.
2. User IP
2. Use IP + User Agent.
You could write that application to check for a cookie first, and then compare a hash of the IP + User Agent.
Unfortunately I don't believe that there is a foolproof way of doing this.
store the cookie
log the IP + User Agent hash,
log the time();
cookie works as first level of detection
IP + User Agent Hash works as second level
and every time a submition is attempted, it checks to see if the IP + User Agent Hash was used more than 5 times in the last hour, if so, its flagged and stopped from being aloud to submit.
thanks guys.