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" <[EMAIL PROTECTED]> 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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to