write(); $params = session_get_cookie_params(); setcookie( 'icingaweb2-session', $now, null, $params['path'], $params['domain'], $params['secure'], $params['httponly'] ); $_COOKIE['icingaweb2-session'] = $now; } Icinga::app()->getResponse()->setHeader('X-Icinga-Container', 'ignore', true); } }