note 74172 added to ref.simplexml

From: Date: Wed, 28 Mar 2007 14:03:36 +0000
Subject: note 74172 added to ref.simplexml
Groups: php.notes 
Request: Send a blank email to php-notes+get-124883@lists.php.net to get a copy of this message
Concerning SimpleXML and sessions: When creating a SimpleXML object (to be precise: a SimpleXMLElement object) in the context of a session and storing it in $_SESSION['XMLobject'], this object does not "survive" the session! By the time re-entering the session, print_r($_SESSION['XMLobject']) says: ['XMLobject'] => SimpleXMLElement Object Warning: Node no longer exists in /your_php_file.php on line xyz ( ) (Message simplified for the sake of better readability.) ---- Server IP: 217.13.201.10 Probable Submitter: 217.24.12.178 ---- Manual Page -- http://www.php.net/manual/en/ref.simplexml.php Edit -- https://master.php.net/note/edit/74172 Del: integrated -- https://master.php.net/note/delete/74172/integrated Del: useless -- https://master.php.net/note/delete/74172/useless Del: bad code -- https://master.php.net/note/delete/74172/bad+code Del: spam -- https://master.php.net/note/delete/74172/spam Del: non-english -- https://master.php.net/note/delete/74172/non-english Del: in docs -- https://master.php.net/note/delete/74172/in+docs Del: other reasons-- https://master.php.net/note/delete/74172 Reject -- https://master.php.net/note/reject/74172 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#124883) next »