Re: Dealing with multiple form submissions

From: Date: Wed, 24 Aug 2011 02:07:18 +0000
Subject: Re: Dealing with multiple form submissions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-314588@lists.php.net to get a copy of this message
On Aug 23, 2011, at 9:04 PM, Jason Pruim wrote: > Hey Everyone, > > Wondering what everyone does to prevent multiple form submissions? > > My form is simply getting emailed to my email, and it redirects to a success page when > submitted... > > Would it be as simple as doing something with the cache control? Basically I'm trying to > avoid someone submitting a form... Then hitting back, and submitting again, then hitting back.... I > think you get the idea... > > What do you all do? > > Thanks! > > > Jason Pruim > lists@pruimphotography.com > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > Cookies are always a great start! On success, set a cookie, and if they access the form and cookie is set, redirect automatically to the thank you page. Mike

« previous php.general (#314588) next »