Welcome Guest, Not a member yet? Register   Sign In
How to check if the user is logged in.
#5

[eluser]Cinghius[/eluser]
Code:
if ($this->tank_auth->is_logged_in()) {         // logged in
$this->load->view("/shared/overlay",array(
'url' => site_url(),
'title' => 'LOGIN OK',
'text' => " Login ok!"
    
));
redirect('');

What I write on the home page after the redirect to check if the user is logged in, how do I make the control of that method?
I apologize if I have not explained well


Messages In This Thread
How to check if the user is logged in. - by El Forum - 04-26-2012, 06:24 AM
How to check if the user is logged in. - by El Forum - 04-26-2012, 07:29 AM
How to check if the user is logged in. - by El Forum - 04-26-2012, 07:37 AM
How to check if the user is logged in. - by El Forum - 04-26-2012, 07:43 AM
How to check if the user is logged in. - by El Forum - 04-26-2012, 07:59 AM
How to check if the user is logged in. - by El Forum - 04-26-2012, 08:18 AM
How to check if the user is logged in. - by El Forum - 04-26-2012, 01:44 PM



Theme © iAndrew 2016 - Forum software by © MyBB