Re: serialize an object

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 fix this?

Pass. I know you can specify member variables to be saved in __sleep(), so I guess that would be one possible workaround.

-Stut

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux