Poll
Posted: Thu Oct 14, 2004 3:11 pm
What is the best identifier(s) to deny voting but once.
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Uhmm.. wont that give the browser used, resulting each different browser-type is allowed one vote?potsed wrote:i used an md5 hash of the $_SERVER['HTTP_USER_AGENT'] and the question ..put it into a db that is checked everytime the poll is called.. if the md5 hash is there it shows the results otherwise it shows the poll...
http://www.multebiz.co.za has the poll in the rh column.. it blocks for 24hrs..
No it's not that essential. I propable try to make a long-lasting cookie or session and store the info there.twigletmac wrote:You probably can't do much more than check the IP address and/or set a cookie. If it's very important people vote only once, make them register and then you can easily check whether that user has already voted.
Mac
Yes it does but most users only use one browser ... IE (sic) anyway... if its not critical it works...wont that give the browser used, resulting each different browser-type is allowed one vote?