public function handler_destroy($id) {
        try {
            $this->connection->del($id);
            $this->unlock_session($id);
        } catch (RedisException $e) {
            error_log('Failed talking to redis: '.$e->getMessage());
            return false;
        }

        return true;
    }
public function handler_destroy($id) {
        try {
            $this->connection->del($id);
            $this->unlock_session($id);
        } catch (RedisException $e) {
            error_log('Failed talking to redis: '.$e->getMessage());
            return false;
        }

        return true;
    }
public function handler_destroy ( $ id ) { try { $ this -> connection -> del ( $ id ) ; $ this -> unlock_session ( $ id ) ; } catch ( RedisException $ e ) { error_log ( 'Failed talking to redis: ' . $ e -> getMessage ( ) ) ; return false ; } return true ; }
Handle destroying a session.

@param string $id the session id to destroy.
@return bool true if the session was deleted, false otherwise.
Handle destroying a session .