$this->session->sess_destroy(); doesn't destroy all session |
[eluser]skunkbad[/eluser]
If you really want to delete the entire session, and not leave anything behind, you can use php's setcookie() function. Code: <?php This would delete the entire session cookie. Remember, you are not limited to CodeIgniter when using CodeIgniter, it's just a framework. Actually, if you already use the cookie helper, you can just use: Code: delete_cookie( config_item('sess_cookie_name') ); |
Messages In This Thread |
$this->session->sess_destroy(); doesn't destroy all session - by El Forum - 07-26-2011, 01:26 AM
$this->session->sess_destroy(); doesn't destroy all session - by El Forum - 07-26-2011, 01:59 AM
$this->session->sess_destroy(); doesn't destroy all session - by El Forum - 07-26-2011, 02:04 AM
$this->session->sess_destroy(); doesn't destroy all session - by El Forum - 07-05-2012, 10:19 AM
$this->session->sess_destroy(); doesn't destroy all session - by El Forum - 07-05-2012, 11:54 AM
$this->session->sess_destroy(); doesn't destroy all session - by El Forum - 07-05-2012, 11:57 AM
$this->session->sess_destroy(); doesn't destroy all session - by El Forum - 07-05-2012, 12:50 PM
$this->session->sess_destroy(); doesn't destroy all session - by El Forum - 07-05-2012, 12:59 PM
$this->session->sess_destroy(); doesn't destroy all session - by El Forum - 07-05-2012, 04:51 PM
|