zend_auth cookies?
I've created a simple login system and it works so far but I want the sessions to be remembered even afte开发者_如何学JAVAr the browser is closed. Does Zend have something for this? I can't seem to find it. What would be the best way to do this? With XSS in mind ;)
Thanks!
You can control session cookies lifetime with Zend_session options:
Zend_Session::setOptions(array('remember_me_seconds' => 864000))
The would make session and thus login information persist for 10 days.
精彩评论