http://www.perlmonks.org?node_id=113417


in reply to CGI::Push Only Works With Netscape. Now What?

What I'm assuming here is that the browser made a request, and is sitting there waiting for a response. During that wait, your SQL query is running.

If thats the case -- perhaps you could send the browser, say, and HTML comment.. or something else trivial, which won't affect the display, but allow the browser to know something is still going on, and that it shouldn't time out. You can just set up some sort of loop, or even use the alarm function, and have your script send something to the browser every 10 seconds or so

While all that is taking place, you could use a Javascript window.status call to put your "Still Processing" message on the bottom of the status bar. Just a thought.. Good Luck!
-Eric
  • Comment on Re: CGI::Push Only Works With Netscape. Now What?