[eluser]xernobil[/eluser]
Hi friends, forgives my bad English…
I am with a doubt using sessions, already I searched in forum and I did not find the solution.
The doubt is the following one:
I possess an Array of the following collection:
Code:
$arr = Array('idclient' => $idClient, 'name' => $nameClient);
necessary to insert this Array in one session:
Code:
$this->session->set_userdata('client', $arr);
The doubt is following now:
How I go to have access the value 'name' for example? Using
Code:
$this->session->userdata('name');
it returns emptiness.
Tips?
hug. :cheese: