Usually I run some javascript to set the 'disabled' attribute for the submit button, then check the attribute is set when the user trys to press the submit button again. This works in IE cause the button is actually disabled. It is not disabled in netscape, however the value dsaibleds is set. Therefore, checking if submit.disabled=true allows you to trap this.

Return 'false' to your form submit code and the form will not submit again.

HTH
Cheers - Neil.

At 19:46 11/07/2003 +0000, you wrote:
From: "Matt Babineau" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Date: Thu, 10 Jul 2003 22:01:34 -0700
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: multipart/alternative;
        boundary="----=_NextPart_000_0014_01C3472E.D4BA9050"
Subject: How do I prevent double posts? > Using CURL + Authorize.NET

I have a CURL+Authorize.net solution in place, how can I prevent double
posts to authorize.net when I post the payment info to the page? What are
some good solutions you have in place?

Thanks,

Matt Babineau
www.criticalcode.com


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to