Re: objects stored in sessions

From: Date: Tue, 08 Apr 2008 10:15:47 +0000
Subject: Re: objects stored in sessions
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-272688@lists.php.net to get a copy of this message
Just a customer of mine who said that he'll be running PHP 4 and 5 on the same server, and that he would share session data ;-) Bye. Julien.P 2008/4/7 Richard Heyes <richardh@phpguru.org>: > 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 > >

« previous php.general (#272688) next »