Check User
-
Hello, I am creating a Poll system and I need to check if a user has already voted. What should be the best way to do this? 1. Should I save the user IP along with its vote in the database? But does not some users IP change each time they access the internet? 2. Should I place a cookie in after the user voted? Well, any help will be great. Thanks, Miguel
-
Hello, I am creating a Poll system and I need to check if a user has already voted. What should be the best way to do this? 1. Should I save the user IP along with its vote in the database? But does not some users IP change each time they access the internet? 2. Should I place a cookie in after the user voted? Well, any help will be great. Thanks, Miguel
If this is for authenticated users only, then you could always associate the vote and the users. If everybody can vote, then you should use cookies.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.