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
> li...@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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to