Many clicks, many request...
Hi, If I make 100 clicks fastly from my browser in a servlet, it generates 100 requests and 100 processes in the server. One only process is very time consuming. Is there a way to process the fisrt click and avoid the rest 99 clicks. Any alternatives? Thank you. Andres.
RE: Many clicks, many request...
you could try some java script on the input type... but that is a pain but it works. Casey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Juan Andres Chau Li Sent: Wednesday, February 20, 2002 5:08 PM To: Orion-Interest Subject: Many clicks, many request... Hi, If I make 100 clicks fastly from my browser in a servlet, it generates 100 requests and 100 processes in the server. One only process is very time consuming. Is there a way to process the fisrt click and avoid the rest 99 clicks. Any alternatives? Thank you. Andres.
Re: Many clicks, many request...
This is usually handled by wrapping JavaScripts around the clickable object to disable it upon the first click, thus eliminating the next 99 clicks. tim. Hi, If I make 100 clicks fastly from my browser in a servlet, it generates 100 requests and 100 processes in the server. One only process is very time consuming. Is there a way to process the fisrt click and avoid the rest 99 clicks. Any alternatives? Thank you. Andres.
RE: Many clicks, many request...
Yes. On the Web page use a scripted button to submit the formdata; use boolean variable isSubmitted to indicate whether to submit. Once you set it to true after submission, simply ignore the next click or alert the user that it was done already and s/he has to be patient and wait ... --peter -Original Message- From: Juan Andres Chau Li [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 3:08 PM To: Orion-Interest Subject: Many clicks, many request... Hi, If I make 100 clicks fastly from my browser in a servlet, it generates 100 requests and 100 processes in the server. One only process is very time consuming. Is there a way to process the fisrt click and avoid the rest 99 clicks. Any alternatives? Thank you. Andres.