# CI 3 # for spesific session $this->session->unset_userdata('some_name'); # for all session $this->session->sess_destroy();