Re: OCILogOn and OCILogOff

From: Date: Tue, 06 Feb 2001 19:16:25 +0000
Subject: Re: OCILogOn and OCILogOff
Groups: php.general 
Request: Send a blank email to php-general+get-38416@lists.php.net to get a copy of this message
I have looked at the comment there, even before I send message to the list. But I'm still wondering how can I disconnect from the Oracle db then? is it actually doing anything? When I developed our own API using ora_*, I never called ora_logoff at the end of every session, because ora_logoff did not return anything (before php 4.0.3). I didn't know where the problem exactly, but our database kept crashing because too many connection were opened (at least that was said by my DBA). I then called ora_logoff eventhough it did not return anything, just for the heck of it, and everything went better. It could be the problem with the DB itself, but I really don't want something like that to happen again using OCI*. Any ideas? Thanks a lot. Reuben D. Budiardja At 08:05 AM 2/6/01 -0600, you wrote:
See the comments here. http://www.php.net/manual/en/function.ocilogoff.php "Reuben D Budiardja" <reubendb@goshen.edu> wrote: Hi, It seems to me that OCILogOff does not return anything. Evenif I do something like this: $conn = OCILogOn("user", "passwd", "db"); $logoff = OCILogOff($conn); $logoff is always empty. Does anyone know about this? any help? Thanks. Reuben D. Budiardja


« previous php.general (#38416) next »