Iv made a simple 5 star voting system and need a way to make sure the user can't vote on the same product again in the next hour.
I'm not a mathmatician and get really confused with the time calculations and have tried quite a few methods now and have not got anywere.
What would be the best way to do this? Cookie? Save their IP and timestamp in a database and work out if they are aloud to vote from that?
Thanks in advance,