I got two controller in CodeIgniter, at the top of each one I load my library:
require_once(APPPATH.'/libraries/Client.php');
After that I load in the controller the session library with:
$this->load->library(array('session'));
Now when I create an object from the library in the first controller and place it in a session I'm not able to access it in the other controller. I get the following error:
__PHP_Incomplete_Class
Anyone know a solution for this one?