Wednesday, March 12, 2014

How to print user data in Codeigniter


print_r($this->session->userdata); 

or

print_r($this->session->all_userdata());