From: rudy dot metzger at pareto dot nl Operating system: Redhat ES 3 PHP version: 5.0.5 PHP Bug Type: Session related Bug description: database connections "dissappears" at custom session handlers
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 bug report at http://bugs.php.net/?id=34550&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34550&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34550&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34550&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34550&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34550&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34550&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34550&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34550&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34550&r=support Expected behavior: http://bugs.php.net/fix.php?id=34550&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34550&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34550&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34550&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34550&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34550&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34550&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34550&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34550&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34550&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34550&r=mysqlcfg