i want to get user details who is logged on to my web site in zend framework .
You can get the data that's stored in Zend_Auth like this:
$identity = Zend_Auth::getInstance()->getIdentity();
The $identity
variable should now contain whatever data you stored into Zend_Auth when logging the user in.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With