create session in codeigniter 3 code example
Example: print all session in codeigniter
print_r($this->session->userdata);
or
print_r($this->session->all_userdata());
print_r($this->session->userdata);
or
print_r($this->session->all_userdata());