The best way to vote on the mechanism, how to deal with
Source: Internet
Author: User
The best way to vote on the mechanism
There is a project to do a voting function (to vote for the work, there are bonuses, the first few thousands of dollars), the customer said the limit of IP (one vote a day), but the company was denied, because a LAN in the server appears to be the same IP, so many schools and other local area network users only vote. Now I can think of: login Cookies are implemented, but this one has a dead point, and a malicious user can clear ookie multiple shots. May I ask who has done the voting procedure and whether there is a better solution.
------Solution--------------------
Cookie + single IP daily limit + verification code
No matter the success of the vote, you give him a hint of success, so the basic is difficult to brush the ticket
You can also like Cnbeta's message, voting will not take effect in the server immediately,
The growth that customers see in the browser is, in fact, false, showing the user the number of votes recorded in the real +cookie
Let him think that it is successful, and so when the final results are published, the background data will prevail
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.