zend-auth

Zend_Auth - When I set a custom storage namespace it does not exist when I redirect to a new controller

In my entry controller I set: This works: $authadapter = new Test_Auth_Adapter_DbTable($db); $auth = Zend_Auth::getInstance(); $result = $auth->authenticate($authadapter); $data = $authadapter->getResultRowObject(null, 'password'); $auth->getStorage()->write($data); $this->_redirector->gotoUrl('/main'); This does not: $authadapter ...

setting and extending Session Lifetime using Zend_Auth

Hi Folks, i use Zend_Auth for one of my Projects, but so far haven't figured out how to set the Lifetime for the Session, or how to extend it (lets say it should run 5 minutes and should reset to that when the user makes an action), here is my Initialization code: $authAdapter = new Zend_Auth_Adapter_DbTable($this->_model->pdo);...

zend_auth causing application to error

i have been following some online screencasts and tutorials about zend_auth. i have a basic zend application created by the zf tool. within the index controller index action i place a little code to test if a user is authenticated. if(!Zend_Auth::getInstance()->hasIdentity()) { $this->_redirect('login'); } now as far...