sessions; setting the no of seconds to inititate a timeout?
Matthew Weier O'Phinney-3 wrote:
>
> -- dele454 <dele@killerinstinct.co.za> wrote
> (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/
>
>
-----
dee
--
View this message in context: http://www.nabble.com/Zend_Auth-and-Persistent-storage-....-tp20000382p20006331.html
Sent from the Zend Auth mailing list archive at Nabble.com.
没有评论:
发表评论