session_only = false; } function dispatch() { $session = \Sessionx::start(); requestURL('http://localhost:1560/disconnect/', 2, ['sid' => $session->sessionid]); $pd = new modl\PresenceDAO(); $pd->clearPresence(); Session::dispose(); $this->redirect('login'); } }