/** * Starts Session if SessionComponent is used in Controller::beforeFilter(), * or is called from * * @return boolean * @access private */ private function __start() { if ($this->started() === false) { if (!$this->id() && parent::start()) { parent::_checkValid(); } else { parent::start(); } } return $this->started(); }