Logout Code for Codeigniter


function logout()
           {
            $this -> session -> sess_destroy();
            header('Location: '.config_item('base_url').'alllinks'); // alllinks: redirected controller name
           } // End Of logout   

Comments

Popular posts from this blog

371 - Ackermann Functions

Create many folder with one click