Actually, as long as you are requiring users to register and log in, you 
might as well just associate each vote with a user ID -- then when a user 
votes, you can just check whether that same user has already voted.

Anthony

On Wednesday, May 15, 2013 10:10:44 AM UTC-4, sasogeek wrote:
>
> the book states this "although it is easy to change this behavior if 
> visitors are authenticated, by keeping track of the individual votes in the 
> database and associating them with therequest.env.remote_addr of the 
> voter." at this link 
> http://web2py.com/books/default/chapter/29/11#Voting-and-rating
>
> How do I do that? I don't understand... but I need that feature. The app 
> I'm building with it is already live though. feel free to check it out if 
> you want :)
> http://sasogeek.pythonanywhere.com/uRate/default/index.html . However, I 
> really need the help! thanks
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to