Client-side of refactored JP session restoration