session_start();
//If user was logged in then returns true,
//if user was NOT logged in then it returns false;
//except on ie8 this returns ALWAYS false, and never true
var_dump($this->user->is_logged_in());
$_POST['username'] = 'test';//username = test
$_POST['password'] = 'test';//pass = test
var_dump($this->user->login());//bool //true/
var_dump($this->user->is_logged_in());//bool true
die();
This is what I have on my script to debug my script and find out where the problem is... The problem is that on "ie8 only" The sessions do not seem to stay and always keep deleting on every request.
I should also mention b4 this code there is ob_start()
This is driving me mad :( help anyone? if more info needed I will add them.