• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
session doesn't keep between pages :O ?


Somehow my login seems to work fine using session but as soon as the page is refreshed in anyway or the user goes to another page via the navigation the session is lost and the user is logged out.

Not sure what code i should show but this is seriously annoying, is this a known issue?

I'm using CI sessions, and its handled by my login_model.

Row that sets the session:
$this->session->set_userdata('user', $userObject);

Rows in a function that checks so the session is set
        return true;
        return false;

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.