ID:               42043
 User updated by:  raadtblare at hotmail dot com
-Reported By:      rmgraci at yahoo dot com
+Reported By:      raadtblare at hotmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Session related
 Operating System: Vista
 PHP Version:      5.2.3
 New Comment:

This was a mistake on my end.


Previous Comments:
------------------------------------------------------------------------

[2007-07-19 07:03:49] raadtblare at hotmail dot com

Description:
------------
session_decode() is returning the correct data, but it is not
populating $_SESSION.  This is contrary to the documentation I found,
which says the opposite should be done.  I like that session_decode()
returns a value, but it should also populate $_SESSION.

Reproduce code:
---------------
$myvar = session_decode($data);
var_dump($myvar);
echo '<br />';
var_dump($_SESSION);

Expected result:
----------------
bool(false)
bool(false)

Actual result:
--------------
bool(false)
array(0) { }


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=42043&edit=1

Reply via email to