Re: objects stored in sessions

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

 



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@xxxxxxxxxxx>:

> 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
>
>

[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