#34550 [Opn->Fbk]: database connections "dissappears" at custom session handlers

From: Date: Mon, 19 Sep 2005 15:09:38 +0000
Subject: #34550 [Opn->Fbk]: database connections "dissappears" at custom session handlers
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-85240@lists.php.net to get a copy of this message
 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:

403 Forbidden
You don't have permission to access /phpbug/ on this server.


Previous Comments:
------------------------------------------------------------------------

[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)

« previous php.bugs (#85240) next »