Re: stopping repeated posts to a Bulletin Board

From: Date: Tue, 17 Sep 2002 18:32:01 +0000
Subject: Re: stopping repeated posts to a Bulletin Board
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-116655@lists.php.net to get a copy of this message
"Resarch And Development" <rand@dealante.com> wrote in message news:B5A492B4-CA44-11D6-B1D6-00039384D098@dealante.com... > What is the best way to avoid the "repeated comment/post" syndrome > caused by the user clicking the submit button one too many times > because he/she did not wait for the browser to return a confirmation > page or the script took too long to execute. Assign a unique key to each submission form (as a hiiden field). Once the form is submitted, you can stop any replays by testing to see if the key was already used or not. -- --- Seairth Jacobs seairth@seairth.com

« previous php.general (#116655) next »