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 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:
>> hi,
>> i use serialize() to save my object in $_SESSION.
>> But i have one Problem:
>> the member-variables from the baseclass are not saved.. :(
>> How can i fix this?
>>
>> thanks in advance
>>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to