note 73039 deleted from function.session-is-registered by philip

From: Date: Sun, 04 Mar 2007 00:21:47 +0000
Subject: note 73039 deleted from function.session-is-registered by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-124053@lists.php.net to get a copy of this message
Note Submitter: ---- Adding to the previous note, one could convert all session variables to simpler variables in one go: <? session_start(); foreach ($_SESSION as $key => $value) { $$key = &$_SESSION[$key]; } ?> Remembering that this creates actual references to the session variables, not just copies.

« previous php.notes (#124053) next »