There are quite a multiple options, some are defined in the actual web development framework (HTML and JavaScript APIs) and some are ASP.NET's APIs. Since he was not interested in the Application variables, it means that he was interested in asking you about the client-side APIs, JavaScript way of sharing the data or HTML way of sharing the data.
In HTML, you can send the data from one page to another page, using the action attribute of the form. You can assign the URL of the second page in the action attribute and then you can send it to the next page. The data in the form, can be then easily accessible on that page too. For example, the following HTML markup,
<form method="post" action="~/second_page.html">
<!--
</form>
That form,
upon submission, would be redirected to the
second_page.html and there you can use the data filled in this page. You would be required to use some server side language; ASP.NET or some other so make sure you're using correct file format.
Another way of doing the same thing is using the JavaScript's APIs. localStorage, sessionStorage are two ways that you can store the data from one page, and then use it on different pages (across the same application). You can learn more on
Storage APIs from MDN[
^]. You can store any type of data, and then extract the value on other pages.
For example, this is an example code for this scenario from MDN.
sessionStorage.setItem("username", "John");
alert( "username = " + sessionStorage.getItem("username"));
Anyhow, I have written an article that would let you understand the processes and methods that you can use to share the data across multiple web pages on your website. You can read that article here:
How to share data among different web pages using ASP.NET[
^]. Remember, I have also mentioned there, and I will say it here too. Do not store sensitive data such as password in client-side APIs. User can easily manipulate them. Always store such values on the server-side; Application variables or more better in a database.