Javascript - storing information for later use

Does anyone know how I would do this using JavaScript?

Suppose I have a page called “User Info” that allows you to input information ie.

Name and Age.

When the user clicks “Submit” to submit their entered name and age, it will invoke another html file/page say “Result” and display those two elements. If the user clicks on the “User Info” link again, enters another name and age, and presses “Submit”, it will invoke that same html page called “Result” and display the name and age that was just entered as well as the name and age that was initially entered. What I am having trouble with is how would I have my page “remember” all the preceeding “Name and Age” info entered by a user. Hope this makes sense, thanks.