D
Developer
We have an InterNet Application that does not use cookies, session
variables, persistant cookies etc. But we collect the information on
multiple forms (about 6 steps). Also we cannot count the entry as a
submittal until the 4th page is submitted. So we need to carry the values
from 1 thru 4 pages. And also based on the information the user provides on
page 1 we have to display different pages. This happens all the way from
page 1 thru 4.
What are the ways we can preserve the inputs until page 4? We wanted to use
hidden values but when the form is submitted we need to query the DB and
decide which page to display. So we cannot use Javascript to post the form.
We created another form in each page and have hidden variables in it. Once
the DB is queried we take the value from the main form and put it in the
hidden variables of the second form and submit that form. The problem with
this is when the user clicks on the back button the previous page's ONLoad
event is triggered and the user is automatically transferred to the page
from where he clicked the back button.
Any ideas how to solve this? We are thinking of using some temporary table
and store the data collected in each page and at the end copy the data from
the temp table to the main table. But we are looking at other easy options.
This is an urgent issue. please give me your ideas.
tia
variables, persistant cookies etc. But we collect the information on
multiple forms (about 6 steps). Also we cannot count the entry as a
submittal until the 4th page is submitted. So we need to carry the values
from 1 thru 4 pages. And also based on the information the user provides on
page 1 we have to display different pages. This happens all the way from
page 1 thru 4.
What are the ways we can preserve the inputs until page 4? We wanted to use
hidden values but when the form is submitted we need to query the DB and
decide which page to display. So we cannot use Javascript to post the form.
We created another form in each page and have hidden variables in it. Once
the DB is queried we take the value from the main form and put it in the
hidden variables of the second form and submit that form. The problem with
this is when the user clicks on the back button the previous page's ONLoad
event is triggered and the user is automatically transferred to the page
from where he clicked the back button.
Any ideas how to solve this? We are thinking of using some temporary table
and store the data collected in each page and at the end copy the data from
the temp table to the main table. But we are looking at other easy options.
This is an urgent issue. please give me your ideas.
tia