lib/SecurityOne.php
public function logout() {
        $this->user="";
        $this->password="";
        $this->isLogged=false;
        if ($this->useCookie) {
            unset($_COOKIE['phpcookiesess']);
            setcookie('phpcookiesess', null, -1, '/');
        }
        @session_destroy();
        @session_write_close();
    }
public function logout() {
        $this->user="";
        $this->password="";
        $this->isLogged=false;
        if ($this->useCookie) {
            unset($_COOKIE['phpcookiesess']);
            setcookie('phpcookiesess', null, -1, '/');
        }
        @session_destroy();
        @session_write_close();
    }
public function logout ( ) { $ this -> user = "" ; $ this -> password = "" ; $ this -> isLogged = false ; if ( $ this -> useCookie ) { unset ( $ _COOKIE [ 'phpcookiesess' ] ) ; setcookie ( 'phpcookiesess' , null , - 1 , '/' ) ; } @ session_destroy ( ) ; @ session_write_close ( ) ; }
Logout and the session is destroyed. It doesn't redirect to the home page.
Logout and the session is destroyed . It doesn t redirect to the home page .