From: jost2345 at users dot sourceforge dot net Operating system: any PHP version: 5.1.5 PHP Bug Type: Session related Bug description: Session module cannot store objects anymore
Description: ------------ The PHP session module needs a special hook into the evaluator so that session_write_close() can be called before the object store is cleaned. The session module worked in earlier PHP versions (<=5.0.4) because objects were handled differently. Reproduce code: --------------- A test is here: http://php-java-bridge.cvs.sourceforge.net/php-java-bridge/php-java-bridge/tests.php5/session_write_close_bug.php?revision=1.2&view=markup To run the test you'll need a recent JavaBridge.war deployed into a J2EE server or servlet engine and the PHP/Java Bridge classes: http://php-java-bridge.cvs.sourceforge.net/php-java-bridge/php-java-bridge/java/README?revision=1.1&view=markup -- Edit bug report at http://bugs.php.net/?id=38511&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38511&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38511&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38511&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38511&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38511&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38511&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=38511&r=needscript Try newer version: http://bugs.php.net/fix.php?id=38511&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38511&r=support Expected behavior: http://bugs.php.net/fix.php?id=38511&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38511&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38511&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38511&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38511&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38511&r=dst IIS Stability: http://bugs.php.net/fix.php?id=38511&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38511&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38511&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38511&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=38511&r=mysqlcfg