Re: Pear-DB - Oracle persistent connection
| From: | Alf Magne Kalleland | Date: | Fri, 07 Mar 2003 17:51:31 +0000 |
| Subject: | Re: Pear-DB - Oracle persistent connection | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4098@lists.php.net to get a copy of this message | ||
Are you saying that it's not possible with permanent connection ?
We have achived this goal when connecting directly to Oracle earlier. The
connect-function also have a permanent-connection argument.
"Alexander Merz" <alexander.merz@web.de> wrote in message
news:3E68B9D2.2030607@web.de...
> Alf Magne Kalleland wrote:
>
> > session_start();
> > $_SESSION['PEAR'] = serialize($db);
> You store the $db-Object - no problem, but you cannot store
> the 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.
>