Note:
The point of this sample is to illustrate repopulating the form fields with
the values the user enters. As such, regardless of the values entered,
the form will not actually do anything when submitted. This is intentional.
To change this behavior, please read the comments included in the source code.
Persisting form values in classic ASP may be a pain, but sometimes
it needs to be done. Luckily for you, we've got a sample
that shows you how.
The sample is pretty straightforward... at the top of the page it reads in the value
of each form element and stores it in a local variable. Later on,
if the form needs to be shown again, it uses the values of these
variables to set the default value of each form element.
While it can be a little cumbersome, it's really not as hard as it sounds.
Take a look at the code and you'll get the hang of it in no time.