Bug #12915: session_write_close() has to be called explicitly

From: Date: Thu, 23 Aug 2001 01:04:45 +0000
Subject: Bug #12915: session_write_close() has to be called explicitly
Groups: php.dev 
Request: Send a blank email to php-dev+get-64126@lists.php.net to get a copy of this message
From: ggabor@sopron.hu Operating system: Linux 2.4.9 (Debian woody) PHP version: 4.0.6 PHP Bug Type: Session related Bug description: session_write_close() has to be called explicitly 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. -- Edit bug report at: http://bugs.php.net/?id=12915&edit=1

« previous php.dev (#64126) next »