Re: Prevention for multiple submissions from the same form

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



TG napsal(a):
But what if the data being inserted isn't unique? What if it's a voting form that says "Do you like pie? Yes/No"? True, it could record the response and the userid or IP address so that would be a unique pairing but what if the vote was anonymous and you allowed multiple people from the same IP address (ie behind a firewall/proxy) to submit votes?
simple solution with timestamp - you allow to vote from 1 ip once in a given time (day, hour, minute, second, depends on you)
There could be cases where the data isn't necessarily unique
Sorry, I dont know any.

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux