Welcome Guest, Not a member yet? Register   Sign In
Autoload of Session library

I am autoloading database and session libraries in autoload.php

$autoload['libraries'] = array('database', 'session');  in autoload.php

The models and other controllers that I am loading in MY_Controller.php. use _SESSION. 

It seems like the session library is not loaded because I get Undefined variable: _SESSION /var/www/html/system/libraries/Session/Session.php 729

I have to force load by calling $this->load->library('session"); 

Anyone seem this issue in CI 3.0 before and fixed it?

"_SESSION" is not a variable. "$_SESSION" is Undecided

Theme © iAndrew 2016 - Forum software by © MyBB