DB doesn't survive serialization in session
| From: | Alok K. Dhir | Date: | Wed, 11 Jul 2001 18:00:02 +0000 |
| Subject: | DB doesn't survive serialization in session | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-189@lists.php.net to get a copy of this message | ||
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