(on Wednesday, 15 October 2008, 12:20 PM -0700):
>
> "By default, Zend_Auth provides persistent storage of the identity from a
> successful authentication attempt using the PHP session. Upon a successful
> authentication attempt, Zend_Auth::authenticate() stores the identity from
> the authentication result into persistent storage."
>
> This is an excerpt from the documentation. I was just wondering this has any
> trade offs in terms of resources? Secondly, though i have implemented the
> Zend_Auth into my application, is there a way of incorporating a timeout
> session without having to use an adapter?
>
> I just need some clarifications on these persistent storage and how it
> really affects the application as compared to having a session that timeout
> due to inactivity.
That's actually how the implementation works -- it uses Zend_Session to
persist identity between sessions, and Zend_Session uses plain ol'
vanilla ext/session. :)
--
Matthew Weier O'Phinney
Software Architect | matthew@zend.com
Zend Framework | http://framework.zend.com/
没有评论:
发表评论