Welcome Guest, Not a member yet? Register   Sign In
$this->session->sess_destroy(); didn't destroy all session?
#1

[eluser]Alpha[/eluser]
hi, i have $this->session->set_userdata('user_id', 'ID1');

then i want to logout and used $this->session->sess_destroy();
but to my surprise $this->session->set_userdata('user_id', 'ID1') still exist, see below how i used $this->session->sess_destroy();

$this->load->view('index', $data);
$this->session->sess_destroy();

tnx


Messages In This Thread
$this->session->sess_destroy(); didn't destroy all session? - by El Forum - 07-25-2011, 12:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB