More on maintaining state

We take advantage of the <hidden> tag in the second form that we send back to the user in response to the first form.

Note: hidden data isn't really hidden, the user can use view source to see it. But it doesn't clutter up the user's screen.

The most interesting aspect of this multi-part dialog is the script that responds to the first form, and creates the second.

Here is how it works.

(If you have a lot of information to save between calls to the server, it may be simpler to put it in a local file--with a unique file name--on the server computer, and simply send the file name back to the browser as a hidden variable.


Last modified: Wed May 15 16:11:10 DST 1996