[eluser]stanDman[/eluser]
Hey there,
I had the very same problem, at least judging by the symptoms you described. Here is what helped me - in your code:
$obj->load->library('session');
echo $obj->session->userdata('ip_address');
try not loading the session class, FAL has it's own session class called Db_session, which you don't even have to load in your script, it loads it for you
. Just use $obj->db_session instead of $obj->session, after removing the first line, that's all. The thing is that FAL creates cookie for the session and sets it up, and everything is fine, but when you load the Session class it sets it up again( and with the same name, taken from config.php) and ultimately changes the cookie too therefore messing up with Db_session class' functionality and vice versa so they keep creating/changing/setting cookies and as a result can't 'recognize' you as the user that just logged in
. I am pretty sure that is the case with your problem. I hope my reply comes in time. Best of luck, and let me know if this helped you.
S.