// Ensure user is logged in
if (!$this->dx_auth->is_logged_in())
{
// Redirect to login page
redirect('/auth/login/', 'refresh');
}
}
I can't seem to pass the session id properly from the flash to ensure the user is logged in. If I remove my if statement above, it works fine of course and posts.