Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: push_handler and status page question.

by one4k4 (Hermit)
on Mar 31, 2001 at 03:25 UTC ( #68555=note: print w/ replies, xml ) Need Help??


in reply to Re: push_handler and status page question.
in thread push_handler and status page question.

See, I never really know when the stored procedure will end and return the result set. So I'd really like the 'waiting...' web page to just sit there and refresh with the result set when the SP is done. (As if the connection from $r->send_http_header(...) was kept open... ) This could be anywhere from 3 seconds to 3 minutes. So a content - redirect would probably, most likely, happily, not work. But alas, it is a good idea though.

_14k4 - webmaster@860.org (www.poorheart.com)


Comment on Re: Re: push_handler and status page question.
Download Code
Re: Re: Re: push_handler and status page question.
by sutch (Curate) on Mar 31, 2001 at 09:38 UTC
    I know that one of the major browsers, and maybe just one version of that browser, will redraw the page when new headers are returned. But if you cannot guarantee that your users will use that browser, either IE or NS, then this solution is not viable.

    You may be able to do something with JavaScript, where your image is returned and then hidden when the results are returned.

    I do not understand why you believe the HTTP redirect will not work. If you are concerned about the user having to wait an extra 9 seconds (when using a 10 second delay) then decrease the delay to 5 seconds or even 1 second.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2014-07-11 11:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (224 votes), past polls