public function redirect($url) { Session::transferFlash(); $this->status_code = 302; $this->http_headers = array('Location' => $url); $this->responseCode(); $this->responseHeaders(); die; }