![]() |
Tank Auth is_logged_in usage - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Tank Auth is_logged_in usage (/showthread.php?tid=58043) |
Tank Auth is_logged_in usage - El Forum - 05-08-2013 [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: Tank Auth is_logged_in usage - El Forum - 05-22-2013 [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 |