Welcome Guest, Not a member yet? Register   Sign In
CI' session question
#1

[eluser]chmod[/eluser]
If i enable the item sess_use_database,set
Code:
$config['sess_use_database']        = TRUE;

then CI will auot save user's session data in ci_session table.
If I set the customer's session data , the data will be store in this table.
Like this:
Code:
$this->session->set_userdata('islogin' => TRUE)

I can get the customer's data:
Code:
$this->session->userdata('islogin');

but in another controller:
I can't get the data,why?


Messages In This Thread
CI' session question - by El Forum - 11-29-2008, 09:45 AM
CI' session question - by El Forum - 11-29-2008, 10:54 AM
CI' session question - by El Forum - 11-29-2008, 11:31 AM
CI' session question - by El Forum - 11-29-2008, 11:47 AM
CI' session question - by El Forum - 11-29-2008, 11:02 PM
CI' session question - by El Forum - 12-01-2008, 06:53 AM
CI' session question - by El Forum - 12-01-2008, 10:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB