PHP 4.0 Bug #5276: PHP 4.0.1: session_set_save_handler/session write fails

From: Date: Fri, 30 Jun 2000 00:46:59 +0000
Subject: PHP 4.0 Bug #5276: PHP 4.0.1: session_set_save_handler/session write fails
Groups: php.dev 
Request: Send a blank email to php-dev+get-22696@lists.php.net to get a copy of this message
From: tep@sportbug.net Operating system: RH 6.2 Linux PHP version: 4.0.0 Release PHP Bug Type: Session related Bug description: PHP 4.0.1: session_set_save_handler/session write fails Using the session_set_save_handler to set call back functions for session managment. The session write function does not get called instead the error message from line 495 in session.c is given in the php error log "Failed to write session data....." The open and read callbacks are called and work. The code (see below) worked in PHP 4.0.0 Notes: using the default session settings in php.ini except for cookie_lifetime = gc_maxlifetime = 3600 Code: Sample code from http://www.zend.com/manual/ref.session.php Example 2 (cut and paste) except add the line: session_register('foo');

« previous php.dev (#22696) next »