Store session data in sessionStorage.