Welcome Guest, Not a member yet? Register   Sign In
Sessions broken in 2.03
#1

[eluser]DougW[/eluser]
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.




Theme © iAndrew 2016 - Forum software by © MyBB