Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> OCILogoff Cann't free Oracle Connection in PHP4.0.1
I'm using the following code to make connectiong with a Oracle8.1.6 and I can connect to oracle sucessfully,but when I use "OCILogOff($hdlOCIConn);" to free the connection,but I found that after I do that ,I still can use $hdlOCIConn connect to Oracle. Is this a bug in PHP4.0.1?
<?
$hdlOCIConn = OCILogon("Usrname","pwd",$strTNS);
if($hdlOCIConn){echo" <BR> Could connect to business_database";}
...
OCILogOff($hdlOCIConn);
?>
Received on Wed Sep 13 2000 - 01:06:55 CDT
![]() |
![]() |