Re: Double click problem

From: Date: Wed, 19 Mar 2008 16:05:54 +0000
Subject: Re: Double click problem
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-271808@lists.php.net to get a copy of this message
On Wed, Mar 19, 2008 at 12:01 PM, Eric Butera <eric.butera@gmail.com> wrote: > > Unique form tokens. > > Generate a token when the form is displayed and save that value in the session. > > Then on post check it and remove it. Then if they re-submit it will > not exist therefore be invalid. I like Eric's method better than the timestamp method I proposed. Much cleaner and easier to institute, and I'd hazard a guess at it being more reliable as well. -- </Daniel P. Brown> Forensic Services, Senior Unix Engineer 1+ (570-) 362-0283

« previous php.general (#271808) next »