• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.