Non-Deterministic PHP Session Saving in Magento
I gave this little bit of Magento code an ugh on Twitter. #File: app/code/core/Mage/Core/Model/Resource/Session.php public function __destruct() { session_write_close(); } Why? Because PHP automatically calls __destruct when it cleans up memory for an object, which means this code could potentially close and save the session before the [...]
astorm