Session hash handling