models/UserSession.php
/**
     * Clear session by key ip adress
     */
Clear session by key ip adress
Clear session by key ip adress
public function delete(): void
    {
        unset($this->session[Yii::$app->request->userIP.'.count']);
        unset($this->session[Yii::$app->request->userIP.'.time']);
    }
public function delete ( ) : void { unset ( $ this -> session [ Yii :: $ app -> request -> userIP . '.count' ] ) ; unset ( $ this -> session [ Yii :: $ app -> request -> userIP . '.time' ] ) ; }
Clear session by key ip adress
Clear session by key ip adress