|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6585 OCILogOff
Submitted: 2000-09-06 18:16 UTC Modified: 2005-09-08 19:11 UTC
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: shterng at akula dot com Assigned:
Status: Closed Package: OCI8 related
PHP Version: 4.0.2 OS: Linux 2.2.17
Private report: No CVE-ID: None
 [2000-09-06 18:16 UTC] shterng at akula dot com
OCILogOff has to be put back in place.  If a user initiates a persistent connection to the server, and the DBA changes any of the procedures/functions within the database, the connection has to be closed and reopened.  As it stands right now, when the above happens, the entire web server needs to be restarted.

Additionally, if the server is restarted in the middle of the connection, oci_ping does not work correctly.  That is, it doesn't recognize correctly that the connection has died and it needs to reconnect, thus spitting out error messages back to the user.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-07 19:27 UTC]
Does this happen with PHP 4.0.4 ??

 [2001-01-08 05:25 UTC]
it still happens - but the current design (reusing server-connectiond for multiple logins on the _same_ page) doesn't make it easy to implement.

 [2002-11-03 11:21 UTC]
Please try using this CVS snapshot:
For Windows:

 [2002-11-19 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2005-09-08 19:11 UTC]
The bug has been fixed in OCI8 v.1.1, which is available in CVS HEAD and PECL (use `pear install oci8-beta` to install it).
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 28 18:01:32 2024 UTC