Tank Auth is_logged_in usage |
[eluser]Unknown[/eluser]
I am trying to verify (in the absence of documentation), my understanding of $this->tank_auth->is_logged_in() As I understand it, this method verifies whether 'somebody' is logged in, but cannot verify who it is. I want to know if a particular user is now logged in. Thus my code at a certain point looks like this: Code: if ($this->tank_auth->is_logged_in() Do I need to bother with is_logged_in? Is the second half of my && sufficient and safe? Will a login always succeed, overriding a current login? If there is doc I have failed to find, please point me to it. I support the concept of R-ing TFM when TFM exists :blank:
[eluser]haseydesign[/eluser]
I can't help you with Tank Auth, but if you want an auth library with a very good manual - then try mine. http://haseydesign.com/flexi-auth/auth_lite/user_guide |
Welcome Guest, Not a member yet? Register Sign In |