By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,813 Members | 1,252 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,813 IT Pros & Developers. It's quick & easy.

Maintain state of HTML form?

P: n/a
I have a static html page with a form. Is there a way to maintain the state
of
the form without using client-side scripting (no Javascript) or turning it
into
a dynamically-generated page using CGI or using cookies?
Say I have in page1.html:
<input name="field1" value="default1"/>

When a user fills field1 with "uservalue1", submits the form and then either
goes back to page1.html or reloads page1.html, all form fields are reset to
the default values (cleared if none). I'd like the reloaded page1.html to
have
"uservalue1" filled in field1. But again without client-side scripting,
preferably
through the use of some HTTP header without using CGI or cookies.

Thanks,
Zartaj
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Z. Majeed" <zm*****@adobe.com> wrote in message news:sj*******************@newshog.newsread.com...
: I have a static html page with a form. Is there a way to maintain the state
: of
: the form without using client-side scripting (no Javascript) or turning it
: into
: a dynamically-generated page using CGI or using cookies?
: Say I have in page1.html:
: <input name="field1" value="default1"/>
:
: When a user fills field1 with "uservalue1", submits the form and then either
: goes back to page1.html or reloads page1.html, all form fields are reset to
: the default values (cleared if none). I'd like the reloaded page1.html to
: have
: "uservalue1" filled in field1. But again without client-side scripting,
: preferably
: through the use of some HTTP header without using CGI or cookies.
:
You will need session/cookie support and server-side services to track user
supplied values. It will not be possible otherwise...

--
Long
www.webcharm.ca - Integrated content management web hosting
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.