Hi, I'm trying to read a (XML object) DOMDocument from an session but when I try to do this from another page then where it's declared, it can't be read it. I _can_ read the DOMDocument on the same page out of the session. and also print_r(_SESSION); shows it still is a DOMDocument on all pages. The attached file shows the problem. I get different results running the script on PHP 5.0.3 and 5.0.4 servers (all linux). My expected result is that the DOMDocument is printed out when submit is hit, but instead it gives different results: Fatal error: Call to a member function saveXML() on a non-object in /var/www/localhost/htdocs/dom_session.php on line 21 and Warning: Couldn't fetch DOMDocument in /var/www/localhost/htdocs/dom_session.php on line 21 I thought it was a bug in PHP and opened a bug report allready but it's closed. http://bugs.php.net/?id=32825 Does anyone has an idea what could be wrong with it? Thanks in advance, Caspar Adriani
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php