php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16982 starting session turns of some sort of output-buffering
Submitted: 2002-05-02 22:14 UTC Modified: 2002-05-03 23:55 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: thomas at youngarts dot org Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.2.0 OS: FreeBSD 4.4
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: thomas at youngarts dot org
New email:
PHP Version: OS:

 

 [2002-05-02 22:14 UTC] thomas at youngarts dot 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-03 23:55 UTC] yohgaki@php.net
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.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Oct 05 09:01:27 2024 UTC