Forum Moderators: open
Okay. How can I prevent a person from using his/her back button to re-send the information in a form? I am using a PHP mailer. Once the submit button is hit it is diabled (ghost) and the person is directed to my "thank you" page. However, he/she can hit the browser back button and the information is still in the form and it can be re-sent. My competition is sending multiple form infomation by hitting the back button and re-sending the ficticious info in the form fields. Spamming me.
What you can do is ignore the infornation.
If you are using cookies, send a different one on the ack page. If an form comes in with an ack cookie ignore it (may want to time limit that so you don't prevent genuine returners)
If there is a sid hidden in the form, again ignore duplicates.