Re: [MP2] How to turn off caching?

2005-06-03 Thread Rodger Castle
If I am not mistaken, modperl tends to cache all output until the script is completed, then it sends out the page. If I want to (for example) print a period (.) back to the browser every second, what do I need to do? I tried $| but it does not work. I fought with this for a while, too. You

Re: [MP2] How to turn off caching?

2005-05-31 Thread Foo Ji-Haw
Hello Rodger, Thanks for the advice. I'm concerned that this sounds like a lot of search-and-replace for my application. I wonder if there is a cleaner method that simply toggles off buffering? Anyone has any ideas on this? Rodger Castle wrote: If I am not mistaken, modperl tends to cache

Re: [MP2] How to turn off caching?

2005-05-31 Thread Issac Goldstand
As more of a hack than a necessarily good practice, I've found that sending a newline (in addition to $|=1) sometimes helps. I think the problem here is more that the browser doesn't necessarily render content every single time some data comes in over the socket, but maybe waits for logical

Re: [MP2] How to turn off caching?

2005-05-31 Thread Torsten Foertsch
On Tuesday 31 May 2005 06:23, Foo Ji-Haw wrote: If I am not mistaken, modperl tends to cache all output until the script is completed, then it sends out the page. If I want to (for example) print a period (.) back to the browser every second, what do I need to do? I tried $| but it does not

[MP2] How to turn off caching?

2005-05-30 Thread Foo Ji-Haw
Hi guys, If I am not mistaken, modperl tends to cache all output until the script is completed, then it sends out the page. If I want to (for example) print a period (.) back to the browser every second, what do I need to do? I tried $| but it does not work. Thanks in advance for your