Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to retain the information in a particular page?

Status
Not open for further replies.

Phylis

Technical User
Oct 10, 2003
18
0
0
GB
..After the user fills information in the 1st form, it is submitted to the 2nd form. In the 2nd form, the user is required to check certain number of checkboxes. If the number of checkbox exit the limit, error msg is prompted. The 2nd form's content is based on the 1st form input and is retrived form the db. How can I retain the information in this second form?(the 2nd form is initially blank)...Pls help..
 
Use hidden variables

ie [tt]<input type=&quot;hidden&quot; value=&quot;<%Response.Form(&quot;the name of the variable
you want to store&quot;)%>&quot;></input>[/tt]

then they get stored andwhen the form is submited again these will also go with the form again

regards ::)

Unicorn11
abhishek@tripmedia.com

ENJOY !!!!!!!!!!
 
the problem in doing so is that then u have to later on remove all the data that u have stored in these sessions

so i think it is not such a goo idea

regards ::) Unicorn11
abhishek@tripmedia.com

[red]Nothing is permanent in life except Change[red]
 
As soon as the user leaves the site (or rather 20 minutes after) the data goes. Also the data is particular to each user so its not as though you have to blank the session variables unless its for memory release reasons.

James :) James Culshaw
jculshaw@active-data-solutions.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top