note 30603 added to function.session-decode

From: Date: Sun, 23 Mar 2003 18:19:00 +0000
Subject: note 30603 added to function.session-decode
Groups: php.notes 
Request: Send a blank email to php-notes+get-45692@lists.php.net to get a copy of this message
I'm new to PHP, but on my installation (4.3), session_decode actually sets session variables, rather than populating local or globals. e.g. $_SESSION['foo'] = "0"; session_decode( 'foo|s:1:"1";' ); echo $_SESSION[ 'foo' ] ; prints 1 I don't see this behavior explicitly documented anywhere. Yikes, Jonah -- http://www.php.net/manual/en/function.session-decode.php http://master.php.net/manage/user-notes.php?action=edit+30603 http://master.php.net/manage/user-notes.php?action=delete+30603 http://master.php.net/manage/user-notes.php?action=reject+30603

« previous php.notes (#45692) next »