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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2022 The PHP Group
All rights reserved.
Last updated: Sun Aug 14 00:05:44 2022 UTC