2008年10月15日星期三

Re: [fw-auth] Zend_Auth and Persistent storage ....

dele454 wrote:
>
> Besides clearing an identity to end a session can one implement a timeout
> for sessions; setting the no of seconds to inititate a timeout?
>

Sessions have a default timeout and you can set your own using
Zend_Session::rememberMe($sessionLifetime) method.

I think that if you are using a session save handler you have to do
something like this as well:

Zend_Session::getSaveHandler()->setLifetime($sessionLifetime)->setOverrideLifetime(true);

Regards,

Goran Juric
http://gogs.info/
--
View this message in context: http://www.nabble.com/Zend_Auth-and-Persistent-storage-....-tp20000382p20007474.html
Sent from the Zend Auth mailing list archive at Nabble.com.

没有评论: