Re: DB doesn't survive serialization in session

From: Date: Thu, 12 Jul 2001 13:19:05 +0000
Subject: Re: DB doesn't survive serialization in session
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-190@lists.php.net to get a copy of this message
no it has not been discussed before. it needs to be discussed on a pear-wide level imho. anyone have ideas for how to deal with serialization callbacks in general and maybe write up something for the coding guidelines? - Stig On Wed, 11 Jul 2001, Alok K. Dhir wrote: > > DB connection objects don't survive page requests when you store the > object in the session. I read through the class/object docs in the PHP > manual, and it appears that this can be made possible by adding __sleep > and __wakeup methods to the DB class. > > Has this ever been discussed? > > Thanks > > > -- > PEAR General Mailing List (http://pear.php.net/) > To unsubscribe, e-mail: pear-general-unsubscribe@lists.php.net > For additional commands, e-mail: pear-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.pear.general (#190) next »