if (aliveSession.getSession().getSession_id().equals(session_id)) {
aliveSession.updateSessionDate();
return aliveSession.getSession();
}
}
throw new HPISessionException("Session has not been updated. There's no alive session to this session_id: " + session_id);
}