...

View Full Version : Solution required...(ASP)



gobez
11-25-2003, 01:18 PM
I have an 11 page paper form that I need to put on the web. I have experience of inserting and updating tables using DWMX, however, this problem has me beat so far.

There are roughly 400 seperate fields in the entire form, so I think it's too big to do as one table, so I have broken the thing into 11 different forms, each on their own asp page. When the customer completes each page they submit the form and the data is captured, they are then re-directed to the next page of the form. Simple so far.

I now want to allow the customer to be able to access the form and update the info in it.

The easiest way I guess would be to capture the customers (unique) 6 digit code at the very start of the process. However, I dont want the customer to have to do this on every page.

So, how do I insert this number into each subsequant table?

jeskel
11-25-2003, 01:35 PM
My guess is that you could use a session... But there is probably a much better solution to do it. However, get the digits in a session and having this session in a hidden field might do the trick...


123456=Session("digits")

gobez
11-25-2003, 01:53 PM
Thanks Bouchel, I'll give it a try...

jeskel
11-25-2003, 03:08 PM
you're welcome... keep on checking the thread. The idea I gave will work but I'm not sure that in terms of speed/security it's the best thing to do. But I don't know what are your concerns with those two issues...

M@rco
11-25-2003, 03:51 PM
I suggest you do this instead:
http://www.devx.com/webdev/Article/10483

;)

jeskel
11-25-2003, 06:08 PM
pretty cool trick... nice article! ;)

Oakendin
11-26-2003, 05:04 AM
You can also pass it along in the form with a hidden field
---
<input type="hidden" name="digits" value="123456">

and get it on each subsequent page as
-----
<input type="hidden" name="digits" value="<%=Request("digits")%>">



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum