Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: CGI::Push Only Works With Netscape. Now What?

by andreychek (Parson)
on Sep 19, 2001 at 21:47 UTC ( #113417=note: print w/ replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://113417]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2014-12-28 23:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (183 votes), past polls