• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sessions broken in 2.03

I just upgraded to 2.03. I have a generic controller that everything passes through. If $this-session->userdata('uid') is not set, it calls login. I login, I check the uid variable in the login controller and it is set. So I redirect to / and back at the generic controller, the uid variable is cleared. What has changed about this functionality? Everything worked in 2.02.

BTW, $this->session->userdata('uid') is being set in a model. Does this matter?

The login controller does not extend generic whereas all of my other controllers do.

UPDATE: It appears as though this may be a bug. When the session class is called it appears as though the session array is always re-initialized and loses any custom user data I have added.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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