How to hold data about a visitor for 6 hours?
Posted: Fri Apr 28, 2006 8:25 am
Hi,
I'm working on a site where a visitor (not logged in) can give points to different kind of Posts.
I want to build a security that a visitor can only vote for a single post every 6 hours, since otherwise people with bad intensions can bring a post down by voting 0 hundreds of times.
I thaught about several ways to solve this but everyway I could come up with seemed to have a bad side, can anyone help me to find a solution so a visitor can only vote 1 time every 6 hours? is it actually possible if a user is not logged in?
My best thaught was to work with sessions, but since they got destroyed when a window close, it's still possible to cheat the 6hour limit
Friendly greetings
I'm working on a site where a visitor (not logged in) can give points to different kind of Posts.
I want to build a security that a visitor can only vote for a single post every 6 hours, since otherwise people with bad intensions can bring a post down by voting 0 hundreds of times.
I thaught about several ways to solve this but everyway I could come up with seemed to have a bad side, can anyone help me to find a solution so a visitor can only vote 1 time every 6 hours? is it actually possible if a user is not logged in?
My best thaught was to work with sessions, but since they got destroyed when a window close, it's still possible to cheat the 6hour limit
Friendly greetings