• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI' session question

#2
[eluser]iainco[/eluser]
Have you loaded the session library in the other controller?

You should probably have the session library autoload. You can change that in your autoload.php

Also, you have a syntax error with this code

Code:
$this->session->set_userdata('islogin' => TRUE)

It should be:

Code:
$this->session->set_userdata(array('islogin' => TRUE))

or

Code:
$this->session->set_userdata('islogin', TRUE)


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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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