#38511 [Asn->Csd]: Session module cannot store objects anymore
| From: | iliaa@php.net | Date: | Tue, 22 Aug 2006 16:48:06 +0000 |
| Subject: | #38511 [Asn->Csd]: Session module cannot store objects anymore | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-101130@lists.php.net to get a copy of this message | ||
ID: 38511
Updated by: iliaa@php.net
Reported By: jost2345 at users dot sourceforge dot net
-Status: Assigned
+Status: Closed
Bug Type: Session related
Operating System: any
PHP Version: 5.1.5
Assigned To: iliaa
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2006-08-21 08:28:43] tony2001@php.net
See also bug #38473.
------------------------------------------------------------------------
[2006-08-19 13:40:44] jost2345 at users dot sourceforge dot net
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 this bug report at http://bugs.php.net/?id=38511&edit=1