[PHP] serialize an object

2007-04-19 Thread Tobias Wurst
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



[PHP] Re: serialize an object

2007-04-19 Thread Tobias Wurst
i think I "found" a bug: http://bugs.php.net/bug.php?id=36172

i  used __sleep and __wakeup -> don't work

without __sleep and __wakeup -> it is working :)


>you don't need this. php serializes your objects for you
thats true, thanks :)

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