Getting the right info on the session.