php 5 oci session wont end
432137Nov 1 2004 — edited Nov 1 2004Using php5 on Apache, I connect to a remote oracle9 database on AIX. The DBA tells me that my sessions are not being closed when the script ends. I changed from oci_pconnect to oci_connect and, I tried oci_close (even though the manual says it does nothing) to see if it would close the session but it doesn't. If I just do an oci_connect (with no other oci function calls) and sleep for 10 seconds we see the session start and stop correctly. But, if I do a simple query (oci_parse, oci_execute, oci_fetch_assoc) the session doesn't end when the script finishes--cursors are closing correctly however. Can someone please point me in the right direction.