Answers for "how to set data in session in codeigniter"

PHP
1

print all session in codeigniter

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

or

print_r($this->session->all_userdata());
Posted by: Guest on August-22-2020
0

how to free session variable in php codeigniter

$this->session->unset_userdata('some_name');
Posted by: Guest on May-30-2020

Code answers related to "how to set data in session in codeigniter"

Browse Popular Code Answers by Language