code: public void complete(Session session) {
          try {
              session.complete();
              sessionCache.put(session.getId(), session);
          } catch (Exception e) {
              log.warn("Session failed to complete", e);
          }
      }
docs: Called by the {@link SessionHandler} when a session is last accessed by a request.
  
  @param session the session object
  @see #access(Session)