Welcome Guest, Not a member yet? Register   Sign In
$this->session->sess_destroy(); error
#6

(04-05-2016, 05:00 AM)Narf Wrote:
(04-05-2016, 03:01 AM)josepostiga Wrote: The Session library should be autoloaded as a driver, and not as a library... So, instead of adding it to the $autoload['libraries'] array, it should be added to the $autoload['drivers'] array, like this: $autoload['drivers'] = array('session');

No, it shouldn't!

Ok, why not? Because the Session driver/library (whatever) has the options for different drivers (files, database, etc)... If I'm that wrong, can you please help me understand the difference?

If that's not to troublesome for you, of course...
Best regards,
José Postiga
Senior Backend Developer
Reply


Messages In This Thread
RE: $this->session->sess_destroy(); error - by josepostiga - 04-05-2016, 05:15 AM



Theme © iAndrew 2016 - Forum software by © MyBB