php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14105 session_write_close() eats output
Submitted: 2001-11-19 03:40 UTC Modified: 2001-12-13 06:29 UTC
From: mjrider at enschede dot com Assigned:
Status: Closed Package: Session related
PHP Version: 4.1.0RC1 OS: linux debian woody
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mjrider at enschede dot com
New email:
PHP Version: OS:

 

 [2001-11-19 03:40 UTC] mjrider at enschede dot com
<?php
    session_start();
    echo "<br>see this<br>\n";
    session_write_close();
    echo "<br>see this too<br>\n";
?>

http://cam031000.student.utwente.nl/test.php for by output
http://cam031000.student.utwente.nl/phpinfo.php for phpinfo



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-19 18:08 UTC] sniper@php.net
Can not reproduce and your online test script seems
to be outputting broken html too.


 [2001-11-19 19:05 UTC] mjrider at enschede dot com
Maybe thats my point, the output is broken

somehow the session_write_close() remove some chars in the output buffer in apache, or from some internal buffer in php

so yes the output of my script is indeed broken

 [2001-11-19 19:21 UTC] sniper@php.net
Please try the latest RC:

http://download.php.net/~zeev/php-4.1.0RC3.tar.gz

--Jani

 [2001-12-13 06:29 UTC] sander@php.net
No feedback. Closing.
 [2004-07-15 18:22 UTC] icedalex at hotmail dot com
I get exacly the same problem.

I am running 
Debian Woody 3.0 stable 
Apache 1.3.26 
PHP 4.1.2

I also tried flushing it but no luck.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jun 30 19:01:35 2025 UTC