This isn't foolproof, but upon voting, you can send a cookie to the user's browser. Before allowing a user to vote, check for the cookie, and if it exists, don't allow the vote. Note, this will only prevent someone from voting twice from the same machine and browser, assuming they don't delete the cookie. If someone attempts to vote multiple times, you might not want to notify them that the subsequent votes don't count -- in that case, they may catch on and figure out how to vote multiple times by deleting the cookie or switching browsers.
See http://web2py.com/books/default/chapter/29/4#Cookies. Anthony On Monday, February 13, 2012 9:19:03 AM UTC-5, Hassan Alnatour wrote: > > Dear All, > > i have a polls application and there is no registration but i want the > user to vote only one time , how can i do that ?

