Retain Values in a Page in ASP

Retain Values in a Page in ASP

Is there any way to retain values in a page (text box, check box, radio, and so on) after going to some other page and coming back? I don’t want to use any application or session level variables.

Because you do not want to use application or session level variables, the only two ways for you to do it is to use cookies to store the info on the client, or use QueryString values to go from page 1 to page 2 and back to page1. Then when displaying page1, read the values back and accordingly highlight or fill in your text box, check box, etc values.


About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist