/** * Overridden to properly output a value and end, instead of * letting further headers (X-Javascript-Include) be output */ public function pageStatus() { // If no ID is set, we're merely keeping the session alive if (!isset($_REQUEST['ID'])) { echo '{}'; return; } parent::pageStatus(); }