Re: Double click problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 4:19 PM +0000 3/19/08, Richard Heyes wrote:
tedd wrote:
// ...

Your first (and the quickest by far) method to employ would be to disable the submit button using Jabbascript when the form is submitted. That will stop the vast majority of occurrences. You could also employ an intermediary page which actually does the card processing and when complete redirects to the "thank you" page. ie.

   Form --> "Please wait..." page --> "Thank you" page

That's in place. The person clicks the "confirm purchase" and they are taken to a "confirm and thank you page".

The problem here is two fold -- 1) clicking the "confirm purchase"button twice, which I think js will stop; 2) and clicking the back-button which the token should stop.

Now, I just need to develop a test for this. Sometime writing a test is more of a problem than writing the solution.

Thanks for everyone's help.

Cheers,

tedd


--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux