Codeigniter updating session userdata -
i have these session data:
"user_id"=>4545, "user_firstname"=>"jhon", "user_email"=>"jhon@myfakeemail.com"
if update example:
$this->session->set_userdata("user_email","mynewemail@fakeemail.com");
will enteire session updated?
will session new session id?
the point of session persist user data. if updating usedata created new session id purpose of session defeated. changing email address stored going alter email address in session nil else
codeigniter session updates
No comments:
Post a Comment