Re: [PHP] serialize an object

2007-04-20 Thread Eric Butera
On 4/19/07, Stut <[EMAIL PROTECTED]> wrote: Tobias Wurst wrote: > i use serialize() to save my object in $_SESSION. Why? There's no point in serialising something into $_SESSION. Anything you put in there gets serialised by the session handler. That isn't necessarily 100% true. http://www.stub

Re: [PHP] serialize an object

2007-04-19 Thread Richard Lynch
I'm wondering if the OP is failing to re-define the baseclass when loading in the saved object... But, yes, get rid of the by-hand serializing first, as PHP will serialize it for you. On Thu, April 19, 2007 7:40 am, Zoltán Németh wrote: > as far as I know serialize() saves all the properties of t

RE: [PHP] serialize an object

2007-04-19 Thread Buesching, Logan J
ts.php.net Subject: Re: [PHP] serialize an object as far as I know serialize() saves all the properties of the object... and I think you can store objects in session without serializing it since PHP serializes-unserializes it for you automatically - or not? greets Zoltán Németh 2007. 04. 19,

RE: [PHP] serialize an object

2007-04-19 Thread Buesching, Logan J
>From the PHP manual: -Original Message- From: Zoltán Németh [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 8:40 AM To: Tobias Wurst Cc: php-general@lists.php.net Subject: Re: [PHP] serialize an object as far as I know serialize() saves all the properties of the obj

Re: [PHP] serialize an object

2007-04-19 Thread Zoltán Németh
as far as I know serialize() saves all the properties of the object... and I think you can store objects in session without serializing it since PHP serializes-unserializes it for you automatically - or not? greets Zoltán Németh 2007. 04. 19, csütörtök keltezéssel 13.17-kor Tobias Wurst ezt írta

Re: [PHP] serialize an object

2007-04-19 Thread Stut
Tobias Wurst wrote: i use serialize() to save my object in $_SESSION. Why? There's no point in serialising something into $_SESSION. Anything you put in there gets serialised by the session handler. But i have one Problem: the member-variables from the baseclass are not saved.. :( How can i