private function _sess_info($id_session = null){
    if ( !str::is_uid($id_session) ){
      $id_session = $this->get_id_session();
    }
    else{
      $cfg = $this->_get_session('cfg');
    }
    if (
      empty($cfg) &&
      str::is_uid($id_session) &&
      ($id = $this->get_session('id')) &&
      ($d = $this->db->rselect(
        $this->class_cfg['tables']['sessions'],
        $this->class_cfg['arch']['sessions'],
        [
          $this->class_cfg['arch']['sessions']['id'] => $id_session,
          $this->class_cfg['arch']['sessions']['id_user'] => $id,
          $this->class_cfg['arch']['sessions']['opened'] => 1,
        ]))
    ){
      $cfg = json_decode($d['cfg'], true);
    }
    if ( \is_array($cfg) ){
      $this->sess_cfg = $cfg;
    }
    else{
      $this->set_error(14);
    }
    return $this;
  }