[eluser]fserrano[/eluser]
I tried to change things around and still am getting the same results. To simplify, I did this
Code:
$this->session->set_userdata('currentprojectid',$this->uri->segment(3));
where
$this->uri->segment(3) is a number. Then, if I echo the session in another page
Code:
echo "<p>Current project is ".$this->session->userdata('currentprojectid')."</p>";
I get "js". Reviewing the
ci_sessions table I see
Code:
"currentprojectid";s:2:"js";
What am I missing here? Should I report a bug?
I should add that I can successfully add session user data upon login in my login.php controller. It is only after I am logged in that in the project.php controller I cannot set this new userdata.