Bug 962494 - Remove Iterator() usage from SessionStore code r=yoric