session destroy codeigniter 3 code example
Example: destroy session codeigniter 3
# CI 3
# for spesific session
$this->session->unset_userdata('some_name');
# for all session
$this->session->sess_destroy();
# CI 3
# for spesific session
$this->session->unset_userdata('some_name');
# for all session
$this->session->sess_destroy();