#34550 [Opn->Fbk]: database connections "dissappears" at custom session handlers
ID: 34550
Updated by: tony2001@php.net
Reported By: rudy dot metzger at pareto dot nl
-Status: Open
+Status: Feedback
Bug Type: Session related
Operating System: Redhat ES 3
PHP Version: 5.0.5
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.0-win32-latest.zip
Works perfectly fine here.
Previous Comments:
------------------------------------------------------------------------
[2005-09-19 17:20:58] rudy dot metzger at pareto dot nl
fixed, was still in the process of setting it up. sorry
------------------------------------------------------------------------
[2005-09-19 17:09:37] tony2001@php.net
403 Forbidden
You don't have permission to access /phpbug/ on this server.
------------------------------------------------------------------------
[2005-09-19 17:05:42] rudy dot metzger at pareto dot nl
Description:
------------
When using customer session handlers, the database connection during
the write is no longer valid (when using mysqli).
Reproduce code:
---------------
http://parlnx01.pareto.nl/phpbug
Expected result:
----------------
a valid database connection. in above case, a return value of TRUE from
the ping. Curios is that ping should return true/false, but acutally we
got NULL.
Actual result:
--------------
a lost database connection, ping returns NULL. it is also impossible to
execute queries or issue statements (no DB connection anymore).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34550&edit=1
Thread (9 messages)