Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Keeping visitors waiting

by shotgunefx (Parson)
on Jul 25, 2001 at 17:25 UTC ( [id://99739]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Keeping visitors waiting

The first step is to turn off buffering at the top of the script.

$|++

If you are worried about the browser closing the connection, you could periodically print out a space character to the browser to keep the connection alive.

-Lee

"To be civilized is to deny one's nature."

Replies are listed 'Best First'.
Re: Re: Keeping visitors waiting
by stamps (Initiate) on Jul 25, 2001 at 17:55 UTC
    Excellent, that's got it.

    Cheers!

    stamps

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://99739]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.