|
Consider disabling the <submit> button or link when it is clicked. One way to do this is to set its className to a style that has no visibility, so the button disappears after it is clicked. You could also toggle the visibility of a "Please wait..." message with a bit of JavaScript this way. Nathan Andelin Mike Burdette <Mike.Burdette@xxxxxxxxxxxxx> wrote: I have a bill payment web site which has a payment information form (credit card number, expiration date, etc...) on a page which stays displayed after the user clicks "Submit Payment". The confirmation page is not shown until the transaction has completed which may take as long as 10- seconds. I am having trouble with users clicking a second time and submitting two payments. I am assuming that I could just redirect the browser to the "Please wait...." page while the credit card processes the request, but how will that page know that the credit card process is done and send the browser to the confirmation page? I know that a lot of sites do this, but can't figure out how it works. I am using Java servlet technology. TIA Mike
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.