Re: objects stored in sessions

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

 



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 ?

Cheers.
Julien.P

2008/4/7 Kevin Waterson <kevin@xxxxxxxxxxxxxxxxxx>:

> On Sun, 2008-04-06 at 11:02 -0400, Mark Weaver wrote:
>
> > So, if I create a user object, set the properties of said user object
> > and store that object in the user session will that object be available
> > throughout the application from the session?
>
>
> http://phpro.org/tutorials/Introduction-To-PHP-Sessions.html#8
>
>
> --
> 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