public function destroy($sessionId)
    {
        parent::destroy($sessionId);
        if (isset($_COOKIE[$this->cookieKeyName])) {
            setcookie($this->cookieKeyName, '', 1);
            unset($_COOKIE[$this->cookieKeyName]);
        }
        return true;
    }
public function destroy($sessionId)
    {
        parent::destroy($sessionId);
        if (isset($_COOKIE[$this->cookieKeyName])) {
            setcookie($this->cookieKeyName, '', 1);
            unset($_COOKIE[$this->cookieKeyName]);
        }
        return true;
    }
public function destroy ( $ sessionId ) { parent :: destroy ( $ sessionId ) ; if ( isset ( $ _COOKIE [ $ this -> cookieKeyName ] ) ) { setcookie ( $ this -> cookieKeyName , '' , 1 ) ; unset ( $ _COOKIE [ $ this -> cookieKeyName ] ) ; } return true ; }
Destroy session file on disk and delete encryption cookie if no session
is active after deletion.

@param string $sessionId
@return bool
Destroy session file on disk and delete encryption cookie if no session is active after deletion .