php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12915 session_write_close() has to be called explicitly
Submitted: 2001-08-22 21:04 UTC Modified: 2001-12-13 06:26 UTC
From: ggabor at sopron dot hu Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.6 OS: Linux 2.4.9 (Debian woody)
Private report: No CVE-ID: None
 [2001-08-22 21:04 UTC] ggabor at sopron dot hu
Sessions work correctly if session.save_handler is set to 
'files', but if I set it to 'user' and I set up a new save 
handler with session_set_save_handler(), then afterwards I 
have to call session_write_close() at the end of every 
script, otherwise the session data doesn't get written out 
(to a database in my case)

I tested it with PHP 4.0.6, and apache 1.3.20.
PHP has to following extensions loaded: gd, mysql, ldap.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-18 01:27 UTC] sebastian@php.net
Does this problem persist with the current release candidate for PHP 4.1.0? It can be found at http://www.php.net/~zeev/php-4.1.0RC2.tar.gz.
 [2001-12-13 06:26 UTC] sander@php.net
No feedback. Closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Sep 19 23:01:26 2024 UTC