[eluser]Unknown[/eluser]
Question : I am using your product and everything works fine. Accept..
I have a grid (Wijmo) that calls a controller to get the data.
In the constructor of the controller I have this code.
Quote: if (!$this->input->is_ajax_request()) {
if (! $this->flexi_auth->is_logged_in())
{
// Set a custom error message.
$this->flexi_auth->set_error_message('You must login to access your climate zones.', TRUE);
$this->session->set_flashdata('message', $this->flexi_auth->get_messages());
redirect('auth');
}
}
Data is received. But after that I am automatically logged out...