R: [PHP-DB] Re: php-oracle: How pass permanent connections with O CIPLogon between web-pages?
| From: | Roberto Sartor | Date: | Mon, 18 Sep 2000 14:57:42 +0000 |
| Subject: | R: [PHP-DB] Re: php-oracle: How pass permanent connections with O CIPLogon between web-pages? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-2944@lists.php.net to get a copy of this message | ||
Thanks: it runs.
Ciao
Roberto
> -----Messaggio originale-----
> Da: Miguel Cruz [mailto:miguel@firmseek.com]
> Inviato: venerdì 15 settembre 2000 18.26
> A: Roberto Sartor; 'PHP DB'; 'PHP Oracle'
> Oggetto: [PHP-DB] Re: php-oracle: How pass permanent connections with
> OCIPLogon between web-pages?
>
>
> On 9/15/00 2:30 AM, Roberto Sartor at roberto@mionetto.it wrote:
> > if I do a permanent connection like this:
> > $conn=OCIPLogon ($username,$password, $alias_db);
> >
> > and I don't close it at the end of the script, what do I
> need to pass to
> > another page to use the same?
> > What I need, is using the same connection, not opening some others.
> >
> > Is enough something like <a href=next_page.php?conn=$conn>?
>
> All you need to do is repeat the OCIPLogon call, with EXACTLY the same
> parameters, in your next script. It will see that the
> username and password
> are the same and re-use the existing connection.
>
> miguel
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>