|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-05-05 16:20 UTC] derick@php.net
-Status: Open
+Status: Bogus
[2010-05-05 16:20 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 18 20:00:01 2025 UTC |
Description: ------------ $_SESSION should become an empty array after session_regenerate_id with true, but it doens't! Test script: --------------- <?php if(!isset($_SESSION)) session_start(); $_SESSION['a']='asd'; session_regenerate_id(TRUE); echo var_dump($_SESSION).'<br/>'; ?> Expected result: ---------------- array(0) { } Actual result: -------------- array(1) { ["a"]=> string(3) "asd" }