I was looking at it the wrong way.

Idle timeout should be set for the zend_auth namespace and in order to do
that one has to explicitely set the storage and namespace:

_auth_storage = new Zend_Auth_Storage_Session();
_auth_session = new Zend_Session_Namespace(_auth_storage->getNamespace());
_auth_session->setExpirationSeconds($session_idle);
_auth = Zend_Auth::getInstance();
_auth->setStorage(_auth_storage);
_history_data = new Zend_Session_Namespace('History');

So, when the session stays idle for $session_idle seconds, the identity is
cleared (ie. user is logged out) but the history stays. 

-- 
View this message in context: 
http://www.nabble.com/namespace-persistence-tp24653325p24657374.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to