codeigniter print session data 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());