Bug #16818: unset doesn't unset session array

From: Date: Thu, 25 Apr 2002 09:12:25 +0000
Subject: Bug #16818: unset doesn't unset session array
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-5947@lists.php.net to get a copy of this message
From: dexxter@nothing.ch Operating system: linux PHP version: 4.2.0 PHP Bug Type: Session related Bug description: unset doesn't unset session array unsetting several vars saved in a session doesn't work. eg: $HTTP_SESSION_VARS["arr_myfirstarray"] = array("foo","bar"); $HTTP_SESSION_VARS["arr_mysecondarray"] = array("foo","bar"); unset($HTTP_SESSION_VARS["arr_myfirstarray"],$HTTP_SESSION_VARS["arr_mysecondarray"]); doesn't unset the variables in the session. it does unset them for the current script, but doesn't remove them from the SESSION-array correctly. -- Edit bug report at http://bugs.php.net/?id=16818&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16818&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16818&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16818&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16818&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16818&r=support Expected behavior: http://bugs.php.net/fix.php?id=16818&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16818&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16818&r=submittedtwice

« previous php.bugs (#5947) next »