hash all ids. store item keys in session