How pass permanent connections with OCIPLogon between web-pages?

From: Date: Fri, 15 Sep 2000 06:30:38 +0000
Subject: How pass permanent connections with OCIPLogon between web-pages?
Groups: php.db 
Request: Send a blank email to php-db+get-2904@lists.php.net to get a copy of this message
if I do a permanent connection like this: <?php ... ... ... $conn=OCIPLogon ($username,$password, $alias_db); $stmt=OCIParse ($conn,$sql); ... ... ... ?> 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>? I tried and received an error, when I used parameter $conn.Do I need to transform it? Thanks to everyone for answers. Ciao Roberto

« previous php.db (#2904) next »