ZEND_AUTH Check if user logged-in
This example show you how we can check if a use logged in
$auth = Zend_Auth::getInstance();
if (!$auth->hasIdentity()) {
if ('login' != $this->getRequest()->getActionName()) {
$this->_helper->getHelper('Redirector')->setGotoRoute(array(), 'MYROUTE');
}
}