Welcome Guest, Not a member yet? Register   Sign In
Delete and *never use* ci_session cookie?
#5

[eluser]oll[/eluser]
I don't know if there's an ignited code for this.
What I did for my website is for being sure to delete everything (I know it's redondant but I'm a bit paranoid Wink) is :

Code:
function logoff () {
$this->session->sess_destroy();
foreach ($_COOKIE as $key=>$value) {
  setcookie($key,"",1);
  }
}


Messages In This Thread
Delete and *never use* ci_session cookie? - by El Forum - 10-20-2008, 02:03 PM
Delete and *never use* ci_session cookie? - by El Forum - 10-20-2008, 03:14 PM
Delete and *never use* ci_session cookie? - by El Forum - 10-20-2008, 04:56 PM
Delete and *never use* ci_session cookie? - by El Forum - 10-20-2008, 05:02 PM
Delete and *never use* ci_session cookie? - by El Forum - 10-21-2008, 08:14 AM
Delete and *never use* ci_session cookie? - by El Forum - 10-21-2008, 08:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB