is_object($_SESSION['dagobertduck']);
| From: | Matthias H. Risse | Date: | Wed, 26 May 2004 19:04:13 +0000 |
| Subject: | is_object($_SESSION['dagobertduck']); | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-187016@lists.php.net to get a copy of this message | ||
hi:
i wonder why...
if(!is_object($_SESSION['xmlModel']))
echo "there is no obj present, juppa**";
at my place always results in TRUE or
echoing the "there is no.. ", even if var_dump
reports that $_SESSION['xmlModel'] is an
object.
did i screw something up or are there
special policies with the beloved session
variables?
i thought $_SESSION is just mapped
into memory from the session-container
during init on every request and at the end of the
script serialized back to the container?
maybe i missed special policies for
referencing objects stored in the
session-variable?
thanks!
/m