• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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, 10:45 AM
CI' session question - by El Forum - 11-29-2008, 11:54 AM
CI' session question - by El Forum - 11-29-2008, 12:31 PM
CI' session question - by El Forum - 11-29-2008, 12:47 PM
CI' session question - by El Forum - 11-30-2008, 12:02 AM
CI' session question - by El Forum - 12-01-2008, 07:53 AM
CI' session question - by El Forum - 12-01-2008, 11:27 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.