Sifmole has asked for the wisdom of the Perl Monks concerning the following question:
My problem is this: The solution requires a process to poll the interim table until the request has been completed. If the User hits the "Submit" button multiple times then multiple processes will be spawned that will start polling the table.
I want to avoid having several processes that poll the table at the same time. I figure a good way of doing that would be if the process could detect whether the browser that started the request is still listening to it. Is there a way to do this?
I know I can use javascript to disable the button so it can only be "submit"ed once. I will be doing this, however I want a solution that will not require the user to have javascript enabled.
Thanks in advance.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to tell if a browser is still listening to a CGI
by jj808 (Hermit) on Oct 24, 2001 at 17:04 UTC | |
|
Re: How to tell if a browser is still listening to a CGI
by ajt (Prior) on Oct 24, 2001 at 18:33 UTC | |
|
Re: How to tell if a browser is still listening to a CGI
by graq (Curate) on Oct 24, 2001 at 18:26 UTC | |
|
Re: How to tell if a browser is still listening to a CGI
by davis (Vicar) on Oct 24, 2001 at 18:34 UTC |