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 ( [id://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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-03-28 14:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found