Session userdata not updating on server codeigniter

Monday, May 5, 2014

My problem is session userdata not updating on my server but working perfectly on my local



local php version :- 5.3

server php version :- 5.4


I am showing my sever session config


enter image description here


I have tried :-



ini_set('session.use_cookies', 0);
ini_set('session.use_only_cookies', 0);
ini_set('session.use_trans_sid', 1);


and my code is :-



$this->session->set_userdata('user_account_login',true);
$this->session->set_userdata('user_account_login_session_data',$result[0]);


any suggestion what i need to change







http://ift.tt/1kFFSuc