View Full Version : Best Practice for this situation?

01-24-2007, 12:45 AM
Hi everybody,

I did a form that people fill out various informations and once they submit, that information is saved in my database.

My question here is what is the best practice to avoid bad intentions from users? Like i don't want a user to submit their info then go back and then submit again and again and again causing it to fill my Database with Junk.

One of the possibilities i was thinking was to save in a file the IP and Date of insert and check if that IP already submitted on that day, he couldn't go and submit again. What do you think? Is it a good practice or not really?

Hope to hear your thoughts on this.

01-24-2007, 01:05 AM
Here is a recent thread on this - http://www.codingforums.com/showthread.php?t=105371