Have you seen how PHP makes difference between private, protected and public attributes of an object, into the session file ? There are special caracters before them to recognize them. So the question is : is PHP4 able to read such a session file ? And how will it interpret them when we ask him to unserialize data ?
The question(s) should be "Why would you want PHP4 to read a PHP5 session?" and "Why would you expect it to work?". If you want to transfer data between versions you may want to investigate XMLRPC. Or perhaps the somewhat more verbose SOAP.
-- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php