#24843 [Opn->Bgs]: session_regenerate_id does not call user-defined session functions
ID: 24843
Updated by: sniper@php.net
Reported By: luttgens at fusl dot ac dot be
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: Mac OS 10.2.6
PHP Version: 4.3.2
New Comment:
session_regenerate_id() only resets the current session id.
Nothing else.
Previous Comments:
------------------------------------------------------------------------
[2003-07-28 09:45:02] luttgens at fusl dot ac dot be
Description:
------------
Some testings tend to show that session_regenerate_id() doesn't call
any of the user functions defined through session_set_save_handler().
Should it really be the case (apologies if I'm wrong), I'm wondering if
this is a desirable behavior.
I tend to consider this as a bug, as the concept of transparent session
handling through user-defined functions gets broken:
session_regenerate_id() becomes a special case that needs ad-hoc
handling to keep in touch with whatever otherwise happens through
session_start(), session_destroy() etc.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24843&edit=1
Thread (6 messages)