Welcome Guest, Not a member yet? Register   Sign In
log out problem
#1

[eluser]R_Nelson[/eluser]
this is my log out code
Code:
function logout()
    {
        $this->session->sess_destroy();
        $data = array(                                
                'is_logged_in' => false
                );            
        $this->session->set_userdata($data);
        destroy_cookie();
        $this->index();
    }

Works just fine in IE but in Firefox it kicks me back in as logged in!

do i need to do something different with the destroy cookie


Messages In This Thread
log out problem - by El Forum - 04-20-2011, 02:49 PM
log out problem - by El Forum - 04-20-2011, 02:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB