code: @Override
      public Session delete(String id) throws Exception {
          // get the session, if its not in memory, this will load it
          Session session = get(id);
  
          // Always delete it from the backing data store
          if (sessionDataStore != null) {
              boolean deleted = sessionDataStore.delete(id);
              if (log.isDebugEnabled()) {
                  log.debug("Session " + id + " deleted in db: " + deleted);
              }
          }
  
          // delete it from the session object store
          if (session != null) {
              session.stopInactivityTimer();
              session.setResident(false);
          }
  
          return doDelete(id);
      }
docs: Remove a session object from this store and from any backing store.