PHP 4.0 Bug #4118: Queer behaviour from functions extending basic session functions
| From: | chugadie dot geo at yahoo dot com | Date: | Wed, 12 Apr 2000 21:54:35 +0000 |
| Subject: | PHP 4.0 Bug #4118: Queer behaviour from functions extending basic session functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-17846@lists.php.net to get a copy of this message | ||
From: chugadie.geo@yahoo.com
Operating system: Linux redhat 5.2
PHP version: 4.0 Release Candidate 1
PHP Bug Type: Session related
Bug description: Queer behaviour from functions extending basic session functions
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