Forum Moderators: coopster

Message Too Old, No Replies

How assure that a form will not be sent twice

Guard against writing twice to DB

         

henry0

6:39 pm on Jan 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



How may I protect my DB and server folder in getting hit by resubmitting the same form many times
why:
A user go through Auth and a form system to build its own segment that includes copying and renaming a template as well as passing data to MySQL
I would like to find a way of blocking second submission from the same origin (even by mistake) if any!

regards

Henry

jatar_k

6:54 pm on Jan 2, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Is there a piece of data that you can test for in order to detect a second submission?

Can you generate some type of integer when the form is loaded? Then insert that somewhere, if it exists don't let them resubmit?

henry0

7:11 pm on Jan 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks Jatar_K
Sounds like a very good and doable idea

Henry