Welcome Guest, Not a member yet? Register   Sign In
[PROBLEM] $this->load->library(array('session'));
#1

[eluser]wafaa[/eluser]
Hi all,

Please I need a very quick answer to my question!!

I have a problem with using session library, I have a class where I need to use session library.
Everything works well but when I do that
Code:
$this->load->library(array('session'));
$this->session->set_userdata('data', $data['adherent_tb']);
I have a bug when I remove that that works!

I tried to place this line of code averywhere but I always have the same problem!!

Why
Code:
$this->load->library(array('session'));
generates problems ?!!!!!!!!!!!

and is it true that sessions are destroyed when we leave the controller they were created in ?

Thank you for help


Messages In This Thread
[PROBLEM] $this->load->library(array('session')); - by El Forum - 03-17-2008, 12:58 PM
[PROBLEM] $this->load->library(array('session')); - by El Forum - 03-17-2008, 01:08 PM
[PROBLEM] $this->load->library(array('session')); - by El Forum - 03-17-2008, 01:13 PM
[PROBLEM] $this->load->library(array('session')); - by El Forum - 03-17-2008, 01:16 PM
[PROBLEM] $this->load->library(array('session')); - by El Forum - 03-17-2008, 01:17 PM
[PROBLEM] $this->load->library(array('session')); - by El Forum - 03-17-2008, 01:23 PM
[PROBLEM] $this->load->library(array('session')); - by El Forum - 03-17-2008, 01:39 PM
[PROBLEM] $this->load->library(array('session')); - by El Forum - 03-17-2008, 03:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB