Re: [PHP] objects stored in sessions

2008-04-08 Thread Julien Pauli
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 [EMAIL PROTECTED]: Have you seen how PHP makes difference between private, protected and public attributes of an object, into

Re: [PHP] objects stored in sessions

2008-04-07 Thread Richard Heyes
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

Re: [PHP] objects stored in sessions

2008-04-07 Thread Julien Pauli
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

[PHP] objects stored in sessions

2008-04-06 Thread Mark Weaver
Hi All, I've got something on my little mind, and please keep in mind I'm still somewhat new to PHP Oop, so please excuse my silly ass if I ask something that should be obvious. I've got an application that I'm re-writing from PERL to PHP Oop. At the beginning of the application, at log in,

Re: [PHP] objects stored in sessions

2008-04-06 Thread Mark Weaver
Richard Heyes 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? Yes. Just remember to include the class definition before you start the session on

Re: [PHP] objects stored in sessions

2008-04-06 Thread Richard Heyes
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? Yes. Just remember to include the class definition before you start the session on subsequent pages,

Re: [PHP] objects stored in sessions

2008-04-06 Thread Kevin Waterson
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?