/** * Function indexAction check session if thereis value in session redirect on list action of user controller else redirect on index of login action.. */ public function indexAction() { $data = Application_Model_General::get_Auth_Storage_Session(); if (is_object($data)) { $this->_redirect('/user/list'); } else { $this->_redirect('/login/index'); } }