php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19059 flush() doesn't work when used with Session handling functions
Submitted: 2002-08-22 18:52 UTC Modified: 2002-09-21 02:03 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: dhruv_vagale at yahoo dot com Assigned:
Status: No Feedback Package: Session related
PHP Version: 4.2.2 OS: Red Had Linux 7.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
6 + 47 = ?
Subscribe to this entry?

 
 [2002-08-22 18:52 UTC] dhruv_vagale at yahoo dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-22 20:37 UTC] sniper@php.net
What exactly doesn't work? Is output_buffering=Off in your php.ini ? (I could not reproduce this with PHP 4.3.0-dev..)

 [2002-09-21 02:03 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 15:01:29 2024 UTC