private function getSession() { if (!$this->session) { $this->session = new Nette\Http\Session($this->getForm()->httpRequest, new Nette\Http\Response()); } return $this->session; }