Welcome Guest, Not a member yet? Register   Sign In
Session unset_userdata unsetting all user_data
#2

[eluser]xpacio[/eluser]
hello y use session in this way.

Code:
public function logout ( )
    {
        $this->session->unset_userdata('nick');
        $this->session->set_userdata('acl',0);
        redirect('session/login');
    }


Messages In This Thread
Session unset_userdata unsetting all user_data - by El Forum - 07-27-2011, 10:07 AM
Session unset_userdata unsetting all user_data - by El Forum - 07-27-2011, 10:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB