2010年11月5日星期五

Re: [fw-auth] Re: Validating Password while logged in and not loosing session

The Zend_Auth class is meant to integrate the authentication and storage
adapters, so it makes sense as to why the storage is cleared when
authenticating. Fortunately, Zend_Auth (the component) decouples those two
tasks meaning you can use them independently.

For example, you can bypass the storage and use the auth adapter directly:

$result = $authAdapter->authenticate();

This will prevent your storage from being cleared.

--
*Hector Virgen*
Sr. Web Developer
http://www.virgentech.com

没有评论: