S
S
Seigmen2011-02-16 20:12:46
Algorithms
Seigmen, 2011-02-16 20:12:46

Web Application: Disable User Multiple Voting

For the first time I am writing a web application and there are questions about how it would be better to do it.

Here for example on Habré for a topic it is possible to vote only once. How it is more correct to implement it? Store with each topic a list of voted users? And if there are a lot of objects, for example, comments?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
W
WebSpider, 2011-02-17
@WebSpider

Make a vote using paid SMS messages, and let them vote as much as they want :)

E
Eugene, 2011-02-16
@Nc_Soft

Store
user_id+topic_id
user_id+comment_id
don't know how else

M
Maxim Vasiliev, 2011-02-20
@qmax

keep a syslog in which to write all voting events (and maybe others at the same time, such as creating messages / comments)
will solve the problem of both one-time voting and “once a day” voting

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question