Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Keeping visitors waiting

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


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 21: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
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2022-08-19 07:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?