[eluser]julgus[/eluser]
I have this code in my controller. The if statement to check if the session is alive seems to work but not the redirect? No redirect is done? Why?
Code:
if (!isset($data['loggedin']) OR (!$data['loggedin']))
redirect('/login');
/regards