Index: branches/5.1.x/core/kernel/application.php =================================================================== diff -u -N -r14133 -r14205 --- branches/5.1.x/core/kernel/application.php (.../application.php) (revision 14133) +++ branches/5.1.x/core/kernel/application.php (.../application.php) (revision 14205) @@ -1,6 +1,6 @@ Session may be not defined here $session =& $this->Application->recallObject('Session'); /* @var $session Session */ $this->HandleEvent( new kEvent('adm:OnBeforeShutdown') ); $session->SaveData(); + + ob_end_flush(); exit; }