Answers for "get session ci"

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

Browse Popular Code Answers by Language