in reply to Re: HTML5, SSE, flush output '$| = 1' not working as expected
in thread HTML5, SSE, flush output '$| = 1' not working as expected

I assume that the problem is may not the Apache Server. The given sample in PHP5 works with the same server and the flush() is initiated by PHP as i think it is implemented in my sample code using Perl.

  • Comment on Re^2: HTML5, SSE, flush output '$| = 1' not working as expected

Replies are listed 'Best First'.
Re^3: HTML5, SSE, flush output '$| = 1' not working as expected
by poj (Abbot) on Sep 05, 2015 at 15:10 UTC

    I think the problem is the web server, on my Win8.1 desktop with IIS6.2 it updates every 10 seconds as multiples but with Apache2 it works correctly every second. If I set $| = 0; on Apache it updates every 10 seconds the same as IIS.

    What value is this line in your php.ini

    output_buffering=??
    poj