Welcome Guest, Not a member yet? Register   Sign In
Session destroy problem
#1

[eluser]gayathri[/eluser]
Hi all,

I am trying to destroy the session by using this $this->session->sess_destroy(); command, but its not destrying properly, if i use if condition, it shows failure only, so please let me know, what is wrong in this.

function logout()
{
$logout=$this->session->sess_destroy();
if(isset($logout))
{
redirect('login');
}
else
{
echo "not destroyed";
}
}


Messages In This Thread
Session destroy problem - by El Forum - 11-22-2007, 11:02 PM
Session destroy problem - by El Forum - 11-23-2007, 02:05 AM
Session destroy problem - by El Forum - 01-09-2008, 11:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB