PHP 4.0 Bug #8308 Updated: custom session handlers...
| From: | ben at efros dot com | Date: | Mon, 18 Dec 2000 17:34:30 +0000 |
| Subject: | PHP 4.0 Bug #8308 Updated: custom session handlers... | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-41797@lists.php.net to get a copy of this message | ||
ID: 8308
User Update by: ben@efros.com
Old-Status: Feedback
Status: Open
Bug Type: *Session related
Description: custom session handlers...
Yes the session module is set to "user" (this is done
automatically by session_set_save_handler() I believe).
Initially executing the script the handler was set to files,
but then I let the set_save_handler change it over to the
'user' module. I have also tried to forcefully set the
handler to user, but still the "write" handler never seems
to be executed.
Previous Comments:
---------------------------------------------------------------------------
[2000-12-18 04:09:47] sniper@php.net
Have you set session.save_handler in php.ini to user?
--Jani
---------------------------------------------------------------------------
[2000-12-17 23:10:48] ben@efros.com
session_set_save_handler(.... list of handlers ...);
session_name('whatever');
session_start();
$tmpvar='asdf';
session_register('tmpvar');
When I actually run the above code, the open handler is run.
The read handler is run, but then the write handler is not
executed. Shouldn't it be executed when session_register()
is read?
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8308