Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New to the CF scene
    Join Date
    Jun 2003
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Solution required...(ASP)

    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?

  • #2
    Regular Coder
    Join Date
    Aug 2003
    Posts
    565
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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...
    Code:
    123456=Session("digits")

  • #3
    New to the CF scene
    Join Date
    Jun 2003
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks Bouchel, I'll give it a try...

  • #4
    Regular Coder
    Join Date
    Aug 2003
    Posts
    565
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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...

  • #5
    Regular Coder
    Join Date
    Oct 2003
    Location
    London, UK
    Posts
    411
    Thanks
    0
    Thanked 1 Time in 1 Post
    I suggest you do this instead:
    http://www.devx.com/webdev/Article/10483

    Marcus Tucker / www / blog
    Web Analyst Programmer / Voted SPF "ASP Guru"

  • #6
    Regular Coder
    Join Date
    Aug 2003
    Posts
    565
    Thanks
    0
    Thanked 0 Times in 0 Posts
    pretty cool trick... nice article!

  • #7
    New Coder
    Join Date
    Jul 2002
    Location
    Los Angeles
    Posts
    89
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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")%>">


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •