On 27/04/2011 23:17, MTTrading wrote:
Simon, I was using the Registry purpose.  I need to retrieve the Zend_Auth
Session identity in my bootstrap to get the persistant login information.
I'm still have trouble but I'll work it out.

If you are using Zend_Auth_Storage_Session you should be able to do something
similar to this in your Bootstrap.php file:

    $authstorage = new Zend_Auth_Storage_Session();
    $authdata = $authstorage->read();
    $userid = $authdata->id;

The Zend_Auth_Adapter_DbTable and it's getResultRowObject method are great for 
handling user/authentication records held in a database: 
http://framework.zend.com/manual/en/zend.auth.adapter.dbtable.html



--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to