Re: Pear-DB - Oracle persistent connection
| From: | Alexander Merz | Date: | Fri, 07 Mar 2003 15:25:06 +0000 |
| Subject: | Re: Pear-DB - Oracle persistent connection | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4088@lists.php.net to get a copy of this message | ||
Alf Magne Kalleland wrote:
session_start(); $_SESSION['PEAR'] = serialize($db); You store the $db-Object - no problem, but you cannot storethe resource handle for the database in the DB class, which will be destroyed by PHP at the script end. No PEAR problem, a problem of PHP itself.