Re: objects stored in sessions
| From: | Julien Pauli | Date: | Mon, 07 Apr 2008 09:56:08 +0000 |
| Subject: | Re: objects stored in sessions | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-272611@lists.php.net to get a copy of this message | ||
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@bigcreative.com.au>:
> 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
>
>