#24843 [Opn->Bgs]: session_regenerate_id does not call user-defined session functions

From: Date: Mon, 28 Jul 2003 15:21:11 +0000
Subject: #24843 [Opn->Bgs]: session_regenerate_id does not call user-defined session functions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-44926@lists.php.net to get a copy of this message
 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)

« previous php.bugs (#44926) next »