Update session.d

Added iteration through session