help with hidden variables..

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I have the following html code:
<body><form method="post" action=page2.html>
<select name="states">
<option>California </option>
<option>Colorado </option>


I want to store the "selected state value" as a hidden variable and
retrieve in other pages(maintaining a session).

how do I do that?

Re: help with hidden variables.. wrote:
Quoted text here. Click to load it
  The easiest way is to use a server-side processor like PHP or JSP that
has session capabilities.
  It is possible to write an <input type="hidden" ...> element to
subsequent pages but they only apply when in <form>s. And you still need a
way to track a session.

jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)

Site Timeline