Dougy Mak's Blog

MY BLOG!

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

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

L:) ;) :| :x :twisted: :roll: :oops: :o :mrgreen: :lol: :idea: :evil: :cry: :arrow: :P :D :?: :? :) :( :!: 8O 8)