Hello, I am trying to create a mod on my site were people can click on a treasure chest at a chance to win a prize. What I need to know is how to limit this to 1 click per day per ip if possible. It's just going to be a picture to click on that leads you to a page that says sorry try again. I need to make it so that if they click on it more then once in 24 hours from any given ip it will redirect them to a sorry you can only try once per 24 hours page. Any help is much appreciated. Thanks, Richie
You could use a cookie but there is no guarantee the user won't delete cookies. And there is no guarantee that users will have cookie's enabled. The only true way to do this would be server side. Either way you are in the wrong forum. If your only doing client side coding, try the Javascript forum. If you know server side programming, then go to the appropriate language forum.
A cookie is sufficent, as there will be no winners, just need this to get people to return daily. A further explanation of how this would be done would be appreciated. Thanks, Richie