[eluser]Dam1an[/eluser]
As far as I'm aware, and there have been a few threads regarding arrays in sessions, and this is the general view on them
Its possible to store and retreive arrays from sessions, but to get a single value/manipulate them you need the whole array
So you could do something like
Code:
$array = $this->session->userdata('childCompanyID');
$this->session->unset_userdata('childCompanyID');
unset($array['1']);
$this->session->set_userdata('childCompanyID', $array);
You could extend the session class and add this functionality if you want in a function