note 44786 deleted from language.types.resource by danbrown

From: Date: Thu, 24 Mar 2011 14:02:40 +0000
Subject: note 44786 deleted from language.types.resource by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-178160@lists.php.net to get a copy of this message
Note Submitter: evildictaitor at hotmail dot com ---- In response to yasuo_ohgaki, the reason for the inability of the $_SESSION[] variable to hold references is because a session is just a serialize()'d version of it's member variables saved under a unique filename, with this filename following the user around. $_SESSION[] is therefore limited by the constraints of the serialize() function Although this is not <i>strictly</i> true, ($_SESSION does some handling to convert messy variables (e.g. "s and ;s)) it cannot store resources due to the serialise() function's dependancy

« previous php.notes (#178160) next »