Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by duckyd (Hermit)
on Sep 20, 2001 at 02:35 UTC ( #113485=note: print w/replies, xml ) Need Help??


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

here's a really simple way to do what you want: have the inital request for the search return a simple page that says "Please be patient while results are obtained" or whatever. That page should have a meta refresh set for a short amount of time (1 second or a fraction of a second) to the exact same url as the original request (or including the same parameters as hidden if the original parameters were not in the url) but with a flag set that indicates the results should be sent rather than the "wait" page. This page must be *unbuffered* - that is, it should not return *anything* at all until the search is complete. This way, the browser sits spinning and the user sees the "wait" page until their results are ready. hope this helps
  • Comment on Re: CGI::Push Only Works With Netscape. Now What?

Replies are listed 'Best First'.
Re: Re: CGI::Push Only Works With Netscape. Now What?
by duckyd (Hermit) on Sep 20, 2001 at 03:16 UTC
    whoops...
    s/un(buffered)/\1/

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://113485]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2018-02-24 09:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (310 votes). Check out past polls.

    Notices?