Re: serialize an object
| From: | Stut | Date: | Thu, 19 Apr 2007 12:39:49 +0000 |
| Subject: | Re: serialize an object | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-253253@lists.php.net to get a copy of this message | ||
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