I have always wondered?

When you submit a form in ASP the page refreshes so in order to edit a value you have to press back on the browser or at least that is what I have been doing. Is there any way you can hold that value so that the user does not need to press back to edit?:-/

you can store it in a session variable.

Hi,

There are three ways, which you can use to store the values.

1. Session
2. Hidden variables
3. Querystring.

Ok. But at the moment I am unable to save the value inserted into the input box if I refresh the form. For Example If the user inserts a value into Textbox1 inccorectly when he/she submits the page the value should still be there preventing the user from re-inserting the information. Could you show me using any of the examples mentioned how I would achieve this. Thanks.

W:)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.