Re: Preservign object with sessions (cont.)

From: Date: Mon, 21 Aug 2000 09:51:13 +0000
Subject: Re: Preservign object with sessions (cont.)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-12742@lists.php.net to get a copy of this message
On Mon, 21 Aug 2000, Przem Kowalczyk wrote: > Hi. > > I asked about it last Friday, but nobody answerd :-( > I've learned a few new things: > Object is correctly stored in session. Event int's type/class isn't changed > when user vists a page, that doesn't need that specific class. > But if I print serialized version of the stored object i got 'stdClass' > (despite of my class stored in session). > > I've been using 4.0.0 (I was also trying 4.0.1pl2 but this versions seams > to have some problems with user-defined session-handlers). > > How can I correct this? (if it's possible). The serialization of objects has been improved in 4.0.1. The use of alternative storage handlers has been fixed in 4.0.2. So, if you need to use both, you need to wait until 4.0.2 or use a current snapshot: http://snaps.php.net/ - Sascha

« previous php.general (#12742) next »