note 47962 deleted from function.session-regenerate-id by betz
| From: | betz@php.net | Date: | Tue, 07 Dec 2004 11:46:52 +0000 |
| Subject: | note 47962 deleted from function.session-regenerate-id by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-81484@lists.php.net to get a copy of this message | ||
Note Submitter: d43m0n
----
I have noticed, that session_regenerate_id() does not destroy the old session data (which belongs to
the old session id).
Is there any way to do so?
I am using $_SESSION variable, so I have tried calling session_destroy() before
session_regenerate_id(), but in this case the later function doesn't worked as expected. (I
have got an empty session with the new id.)
Session-storage independent solutions are welcome.
Thanks,
d43m0n.
----
Reason: useless note