Re: Stop form submission?

by WebProgrmr(at)aol.com

 Date:  Thu, 27 Jan 2000 19:58:15 EST
 To:  paul.tyng(at)dealerkid.com,
hwg-techniques(at)mail.hwg.org
  todo: View Thread, Original
Just a wild suggestion.  How about having the CGI dump any duplicates that 
come through?  In the meantime, the user can punch the button as many times 
as they like.  You only care that you receive the first one they send.

Details:
Have the cgi cache the first submission for ten minutes or so.  Any forms 
that come through that match it, are then dumped.  After that time window, it 
forgets the original submission.  

++Dan


In a message dated 1/27/00 10:53:43 AM, paul.tyng(at)dealerkid.com writes:

>I need some code that will stop subsequent form submissions in the time
>between hitting submit and the submission acutally taking place.  in part
>of
>the application i am working on you can keep hitting submit while its still
>submitting the first request and like 5 or 6 records can be created instead
>of just one, i can use javascript, asp or whatever, i just need something,
>and it only has to work in ie 4 and 5.
>
>i've tried many solutions already but i can't seem to get them to work
>correctly, any suggestions?

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA