#19059 [NEW]: flush() doesn't work when used with Session handling functions
| From: | dhruv_vagale at yahoo dot com | Date: | Thu, 22 Aug 2002 22:52:39 +0000 |
| Subject: | #19059 [NEW]: flush() doesn't work when used with Session handling functions | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-17601@lists.php.net to get a copy of this message | ||
From: dhruv_vagale@yahoo.com
Operating system: Red Had Linux 7.2
PHP version: 4.2.2
PHP Bug Type: Output Control
Bug description: flush() doesn't work when used with Session handling functions
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 bug report at http://bugs.php.net/?id=19059&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19059&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19059&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19059&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19059&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19059&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19059&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19059&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19059&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19059&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19059&r=globals