I want to pass user input as an array from one html page to another html page where I display it as a list. However each time the html page resets the array is set to null.