Welcome Guest, Not a member yet? Register   Sign In
set_userdata() not work
#1

[eluser]phparif[/eluser]
I am facing a problem with CI session.
I use this code :
$sessionData = array(
'userName' => $name,
'email' => $email,
'password' => $password,
'isLogedIn'=> TRUE
);
$this->session->set_userdata($sessionData);
But when i try to retrieve data it show only this data, My original data not show :

var_dump($this->session->all_userdata());

array(4) {
["session_id"]=> string(32) "e61ca2c94c6832577aa9296424718caf" ["ip_address"]=> string(9) "127.0.0.1"
["user_agent"]=> string(90) "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28" ["last_activity"]=> int(1334332439)
}


Messages In This Thread
set_userdata() not work - by El Forum - 04-13-2012, 09:52 AM
set_userdata() not work - by El Forum - 04-13-2012, 10:43 AM
set_userdata() not work - by El Forum - 04-13-2012, 12:51 PM
set_userdata() not work - by El Forum - 05-27-2012, 01:33 AM
set_userdata() not work - by El Forum - 05-27-2012, 04:23 AM
set_userdata() not work - by El Forum - 05-27-2012, 10:27 AM
set_userdata() not work - by El Forum - 05-27-2012, 10:39 AM
set_userdata() not work - by El Forum - 05-27-2012, 11:09 AM
set_userdata() not work - by El Forum - 05-27-2012, 12:00 PM
set_userdata() not work - by El Forum - 05-27-2012, 09:22 PM
set_userdata() not work - by El Forum - 05-27-2012, 11:58 PM
set_userdata() not work - by El Forum - 05-28-2012, 04:47 AM
set_userdata() not work - by El Forum - 05-28-2012, 10:38 AM
set_userdata() not work - by El Forum - 05-28-2012, 10:59 AM
set_userdata() not work - by El Forum - 05-28-2012, 11:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB