Bug #16982 Updated: starting session turns of some sort of output-buffering

From: Date: Sat, 04 May 2002 03:55:39 +0000
Subject: Bug #16982 Updated: starting session turns of some sort of output-buffering
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6879@lists.php.net to get a copy of this message
ID: 16982 Updated by: yohgaki@php.net Reported By: thomas@youngarts.org -Status: Open +Status: Bogus Bug Type: Session related Operating System: FreeBSD 4.4 PHP Version: 4.2.0 New Comment: The bug system is not the appropriate forum for asking support questions. For a list of a range of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php Turn off trans-sid feature. Previous Comments: ------------------------------------------------------------------------ [2002-05-02 22:14:41] thomas@youngarts.org As said in the summary, starting a session turns on some strange output-buffering, wich cannot be overrided per flush(). This happens since 4.2.0 and is still in the latest snapshot, until 4.1.2 it was okay. Sample-Scipt: <?php session_start(); session_write_close(); set_time_limit (0); $i = 0; for(;;) { $time = time(); $newtime = date("H:i:s", $time); printf("($newtime) - $i <br>"); $i++; flush(); usleep(200000); } ?> To me, this is VERY important, because it makes session-based webchats nearly unusuable. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16982&edit=1

« previous php.bugs (#6879) next »