Save values to session on paging.