$this->session->set_userdata seems broken? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: $this->session->set_userdata seems broken? (/showthread.php?tid=48123) |
$this->session->set_userdata seems broken? - El Forum - 01-05-2012 [eluser]cpass78[/eluser] Hello everyone, I seem to be having an issue after upgrading to CI 2.1.0 and the set_userdata function. Previously running on CI 2.0.3(?) everything was working fine. So I have this small block of code: Code: $details = $this->getClientDetails($validlogin['userid']); Which functions properly up to the point where $this->session->set_userdata($sessiondata); gets called. below is what happens in the DB table, as you can see "user_data" is empty and seems to be skipping it completely?. Code: a:6:{s:9:"user_data";s:0:"";s:8:"username";s:5:"chris";s:12:"passwordhash";s:32:"bbsdbsdbtrtgh45hhhwedf";s:9:"logged_in";s:1:"1";s:6:"userid";s:1:"2";s:6:"status";s:6:"Active";} Any ideas? Thank you |