[PHP-DEV] PHP 4.0 Bug #8308 Updated: custom session handlers... From: sniper <email protected>
Date: 12/18/00

ID: 8308
Updated by: sniper
Reported By: ben <email protected>
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 <email protected>
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 <email protected>
Have you set session.save_handler in php.ini to user?

--Jani

---------------------------------------------------------------------------

[2000-12-17 23:10:48] ben <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>