Nate Andelin and I worked on this a while ago, and I use it several
places on my site:


Works well when your request is "interactive" -- when you don't
want/can't do a round trip to the server.  When you're submitting a
job, we the same sort of thing as in Bruce's second recommendation.

One caveat to the refresh/resubmit...  You'll get a whole bunch of
hits on that refreshed page in your server logs.  If you send server
log analysis to your marketing department (like I do), you'll have to
explain it.

Mike E.

On 12/8/05, 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.
> Mike
> --
> This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) 
> mailing list
> To post a message email: JAVA400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/java400-l
> or email: JAVA400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/java400-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 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.