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

26th BCS Question and Answer

Create many folder with one click

Uninstall Internet Explorer 9