time delay between user actions
Posted: Sun Jul 04, 2010 1:41 pm
Hi all,
I want to create a php application in which users are not allowed to perform a certain action (such as clicking a certain button) more than once every 30 seconds.
I've thought about using sessions and storing the time when the button is clicked and comparing that to the current time each subsequent time the button is clicked to see if 30 seconds have passed. However, as I understand it a user can simply delete their cookies to get around this? Is there something I am missing? Preferably I want the system to be very difficult, if not impossible, to bypass.
Thanks
I want to create a php application in which users are not allowed to perform a certain action (such as clicking a certain button) more than once every 30 seconds.
I've thought about using sessions and storing the time when the button is clicked and comparing that to the current time each subsequent time the button is clicked to see if 30 seconds have passed. However, as I understand it a user can simply delete their cookies to get around this? Is there something I am missing? Preferably I want the system to be very difficult, if not impossible, to bypass.
Thanks