Title, recently asked to do a public comment on the praise function, the user can casually comment, stateless, do not record the user's data (including IP, number); In order to make this, deliberately run to the embarrassing encyclopedia look, found that people's praise are must first login, and then broke the matter on the Come, This public comment on how to prevent others infinite point, think of the record user's IP, with 2 tables, a comment sheet, an IP table, when you want to point the second time, the query to the IP has been like, the hint can no longer praise; then my friend prompts me to say that this method can not prevent the villain, If people really want to engage you, or you can continue to praise, such as cut-off volume, and then connect the flow, the forum of the Great God there is no good advice, mainly non-state
Reply to discussion (solution)
That?? Can't do, with ip,cookies those are not?
The best? is the public??? The information of the former use, such as Usertoken, is then sentenced.
Can't do sth.
Or do you want to record the user's information?
Must record 1 items Ah, otherwise how to judge,?
To prevent the number of likes to be brushed, the likes must be recorded. There are some pages implemented without login to limit the number of likes, in fact, should be the use of the public number function.