php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13665 session save handler - write not working
Submitted: 2001-10-14 03:30 UTC Modified: 2002-01-06 21:57 UTC
From: douglasd at iprimus dot com dot au Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.0.6 OS: Windows 2000
Private report: No CVE-ID: None
 [2001-10-14 03:30 UTC] douglasd at iprimus dot com dot au
Hello,

I have register globals turned off and have a 'user' defined session handler that stores the sessions in a db.

It appears as though the 'session write' function isn't getting called.

I have read alot of posts from other having this trouble but no solutions. There is no mention of anyone working on the problem.

How can I help?

Douglas.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-14 11:43 UTC] jon@php.net
Note that because session_write() is called upon request shutdown, you will never see any output from that function.  If you're expecting to see debugging output from that function, you're out of luck.  That best way to output debugging messages from your custom write function is to write to a file instead of standard out.

In other words, 'echo' and 'print' don't work in a session write handler.
 [2002-01-06 21:57 UTC] yohgaki@php.net
Please ask support questions to php-general@lists.php.net
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 11:01:30 2024 UTC