#19059 [Opn->Fbk]: flush() doesn't work when used with Session handling functions
| From: | sniper@php.net | Date: | Fri, 23 Aug 2002 00:37:20 +0000 |
| Subject: | #19059 [Opn->Fbk]: flush() doesn't work when used with Session handling functions | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-17603@lists.php.net to get a copy of this message | ||
ID: 19059
Updated by: sniper@php.net
Reported By: dhruv_vagale@yahoo.com
-Status: Open
+Status: Feedback
Bug Type: Output Control
Operating System: Red Had Linux 7.2
PHP Version: 4.2.2
New Comment:
What exactly doesn't work? Is output_buffering=Off in your php.ini ? (I
could not reproduce this with PHP 4.3.0-dev..)
Previous Comments:
------------------------------------------------------------------------
[2002-08-22 18:52:38] dhruv_vagale@yahoo.com
The flush() fuction doesn't work when used with Session
handling functions. I'm using Apache v1.3.26 Server, PHP v4.2.2 and
Internet Explorer 6.0
Example:
<?php
session_start();
session_register("SESSION");
$count=0;
for($i=0;$i<=5;$i++) {
echo $count++."<BR>\n";
flush();
sleep(2);
}
?>
If you comment out the two session fuctions above, the flush() works
properly!
My configure line:
'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml'
'--enable-bcmath' '--enable-calendar' '--with-curl'
'--enable-ftp'
'--with-gd=/usr' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr'
'--with-imap' '--with-mcrypt' '--with-ming'
'--enable-magic-quotes'
'--with-mysql=/usr' '--with-pear' '--enable-safe-mode'
'--enable-track-vars' '--with-ttf' '--enable-versioning'
'--with-zlib'
'--enable-trans-sid' '--with-gettext' '--with-kerberos'
'--with-odbc'
Hope someone could look into this.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19059&edit=1