RE: a DOM object in $_SESSION ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Does anyone know if this works?  I've been trying out a few things, and
> it doesn't seem to work.  I.e. the object is there, but the contents
> aren't.

I don't think it is possible due to the way PHP handles the XML data [1].

This is from 2002 / PHP 4.3 but a comment [2] in the PHP manual for
SimpleXML seems to suggest it is still the case. You could probably get
around it by using a string representation in the session variable.

[1] http://bugs.php.net/bug.php?id=20899&edit=1
[2] http://uk2.php.net/manual/en/ref.simplexml.php#74192

Edward

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux