Re[2]: [PHP-WIN] Preventing multiple submits

From: Date: Thu, 24 Aug 2000 17:13:31 +0000
Subject: Re[2]: [PHP-WIN] Preventing multiple submits
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-2111@lists.php.net to get a copy of this message
At 12:03 PM 8/24/00 -0500, Pablo Vera wrote:
[snip] James, Zak: I'm not so sure this is a good idea, I think that the problem should be resolved, where the problem is originated, and eventhough I prefer PHP, I think that in this case it should be solved by the Client-Side, i.e. JavaScript.
JavaScript is not a reliable choice for this matter. It is not available on some clients. On the clients that support it, it can be disabled.
What I don't like of the Server-Side solution is that the form WILL BE submitted a second time, and that (I'm not so sure) the first submission will somehow be interrupted by the second one.
As soon as the PHP script receives one form, then it will not accept any further forms from the same client. So, either a form is received and no more will be accepted from the same client in the same session or a form has not been received... - zak

« previous php.windows (#2111) next »