Zend_Auth returns results and identity
This actually help me realized that my login wasn’t logging in properly to begin with. I needed to check if a person was logged on or not, and I found out you can see if the visitor has an identity and you can even get it with the following commands:
Zend_Auth::getInstance()->getIdentity()
Zend_Auth::getInstance()->hasIdentity()
More information here:
http://framework.zend.com/manual/en/zend.auth.introduction.html
No comments
No comments yet. Be the first.
Leave a reply