At 12:24 07/10/2002, Sascha Schumann wrote:
> > A couple of questions for clarity:
> >
> > (a) Does this work properly with PHP 4.2?
>
> There is an even weirder bug, at least in the 4.2.3/CGI case
> (the session output handler gets called after the request
> shutdown which already disabled the session, so that the
> rewriter is not invoked).
>
> This bug can be circumvented by using ob_flush() which causes
> the output buffer to be emptied immediately.
>
> 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.");
Aha, ok, that actually makes quite a bit of sense. If there's a bit of
output that remains inside the buffers, and the session module gets
deactivated before this output is flushed, we're in trouble... I'll take a
look at it.
Zeev
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php