PHP 4.0 Bug #8308 Updated: custom session handlers...
| From: | sniper@php.net | Date: | Mon, 18 Dec 2000 22:16:13 +0000 |
| Subject: | PHP 4.0 Bug #8308 Updated: custom session handlers... | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-41811@lists.php.net to get a copy of this message | ||
ID: 8308
Updated by: sniper
Reported By: ben@efros.com
Old-Status: Open
Status: Closed
Bug Type: *Session related
Assigned To:
Comments:
Please read this manual page carefully:
http://www.php.net/manual/function.session-set-save-handler.php
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-12-18 12:34:30] ben@efros.com
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.
---------------------------------------------------------------------------
[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