Re: Re: output buffering

From: Date: Mon, 07 Oct 2002 18:56:31 +0000
Subject: Re: Re: output buffering
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-89178@lists.php.net to get a copy of this message
At 18:43 07/10/2002, Sascha Schumann wrote:
On Mon, 7 Oct 2002, Zeev Suraski wrote: Can you see if calling php_end_ob_buffers() in the session deactivate function, in case BG(url_adapt_state_ex).active is true, solves this problems?
    Note the condition here:
    There is an even weirder bug, at least in the 4.2.3/CGI case
^^^^^
Yeah I know, I thought it also existed in the 4.3 tree. I think that the solution would be similar in the 4.2 branch - call php_end_ob_buffers() in case the session module started an output buffering layer...
    I got the other error:
    In HEAD, this yields:
    if (!OG(ob_nesting_level)) {
        php_error_docref("ref.outcontrol" TSRMLS_CC, E_NOTICE, "failed to
flush buffer. No buffer to flush.");
    ..only because I had wiped out my php.ini for the 4.2.3 test
    and did not reinstantiate it properly for the HEAD test.
    ob_flush together with session.use_trans_sid enabled works in
    the latest CVS.
I understand, but what if you don't call ob_flush()? Does it work properly? Zeev

« previous php.dev (#89178) next »