Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^3: Using exit

by eieio (Pilgrim)
on Dec 30, 2004 at 16:48 UTC ( #418311=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Using exit
in thread Using exit

It sounds like you are developing a CGI application. If this is the case, turning off output buffering may ensure that the output from the script is displayed in the browser:


Comment on Re^3: Using exit
Download Code
Replies are listed 'Best First'.
Re^4: Using exit
by Anonymous Monk on Dec 30, 2004 at 16:52 UTC
    Yes I am, and I am using $|++ already, but at some point I would like to have what the exit does but no success yet.
      The behavior may be browser dependent. I've noticed that Safari on Mac OS X doesn't incrementally load pages even if the output buffering is disabled by the script. However, Firefox does incrementally display the page.

      While more complicated, a solution developed by Randal Schwartz may be more appropriate, if you are trying to provide incremental feedback during a long-running operation.

      then you're between a rock and a hard place.

      you may need to refactor the output ... so that you're sending stuff more frequently .....

      without seeing any code, that's probably the best any of us can do ...

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2015-12-02 05:15 GMT
Find Nodes?
    Voting Booth?

    My keyboard shows this many letters:

    Results (34 votes), past polls