note 28179 deleted from function.session-decode by didou

From: Date: Sun, 18 May 2003 03:25:41 +0000
Subject: note 28179 deleted from function.session-decode by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-48374@lists.php.net to get a copy of this message
Note Submitter: ed@projektwerks.com ---- I decided to take the brute force approach to get the session vars out: function SessionStringToArray( $string ) { $temp = $_SESSION; session_decode( $string ); $sess_array = $_SESSION; $_SESSION = $temp; return $sess_array; } Seems to work without messing up the current session at all. -- Ed Voas

« previous php.notes (#48374) next »