public function executeRequest() { $this->initializeDatabase(); Session::init(); Flash::__load_from_session(); BrowserInfo::fetch(); RouteMap::init(); //sanitize environment $this->renderResult(); Flash::__save_to_session(); Session::save(); $this->disposeDatabase(); }