how to add the array in section in codeignator and use it into view code example
Example 1: print all session in codeigniter
print_r($this->session->userdata);
or
print_r($this->session->all_userdata());
Example 2: how to free session variable in php codeigniter
$this->session->unset_userdata('some_name');