Answers for "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

load session in codeigniter

$this->load->library('session');
Posted by: Guest on September-03-2021
0

how to free session variable in php codeigniter

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

codeigniter store session data

$this->session->set_userdata('some_name', 'some_value');
Posted by: Guest on October-25-2021

Browse Popular Code Answers by Language