If the vote was made by a logged in user you should find it in the db right ?
Em ter., 25 de ago. de 2020 às 17:31, mostwanted <godirao...@gmail.com> escreveu: > > Hey guys, I'm looking at the voting & rating example on the book ( > http://www.web2py.com/books/default/chapter/29/11/jquery-and-ajax?search=voting#Voting-and-rating) > & was wondering how I could use* (request.env.remote_addr) *to prevent a > previously voted user from voting again. > > Regards; > > Mostwanted > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > 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. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/3b88b13e-4490-4dad-b5db-88056e853f25n%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/3b88b13e-4490-4dad-b5db-88056e853f25n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/CAEM0BxNght7Ac5SnXZHy6%3DpqhHNqnZY0hhtT__hjgDGQRYkSZg%40mail.gmail.com.