php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4118 Queer behaviour from functions extending basic session functions
Submitted: 2000-04-12 17:54 UTC Modified: 2000-06-23 22:00 UTC
From: chugadie dot geo at yahoo dot com Assigned:
Status: Closed Package: Session related
PHP Version: 4.0 Release Candidate 1 OS: Linux redhat 5.2
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: chugadie dot geo at yahoo dot com
New email:
PHP Version: OS:

 

 [2000-04-12 17:54 UTC] chugadie dot geo at yahoo dot com
The write and close session functions that you
declare with session_set_save_handler() do not
allow for direct print or echo output.  The 
example from the manual fails to output as shown, 
but the functions do work properly otherwise.  

http://www.tapinternet.com/~mark/phpsess.txt

is the source to a script that fails to do a simple
print "Hello ..\n";
from inside the write function.  The script works 
otherwise as you can see by visiting

http://www.tapinternet.com/~mark/phpsess.php3

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-23 22:00 UTC] sas at cvs dot php dot net
Thanks for noticing this. The documentation team will update the documentation appropiately.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 20:01:30 2025 UTC