How to set timeout for user when login using zend_auth?

Use:

// add idle time for this login
$seesion_auth = new Zend_Session_Namespace('Zend_Auth');
$seesion_auth->setExpirationSeconds(3600);



posted @ 2011-11-02 17:50  Lux.Y  阅读(190)  评论(0)    收藏  举报