Zend_Auth is a singleton, so you cannot. I use Zend_Acl to provide access to admin items only to users with the admin role.
To create a second Auth object, in principle you can get Zend_Auth in App_Auth and use a different session namespace. I have never tried this, but my starting code would look like this:
class App_Auth { public function getStorage() { if (null === $this->_storage) { require_once 'Zend/Auth/Storage/Session.php'; $this->setStorage(new Zend_Auth_Storage_Session('App_Auth')); } return $this->_storage; } }
You might need to override more.
source share