I guess this is the same problem I had. After using a forms data in an insert record behaviour you are unable to reuse the forms fields again?
I cant remember how I got round it but it wasnt a simple solution. I will have a browse round my files and get back unless anyone else can come up with an answer. The secret of life is honesty and fair dealing. If you can fake that, you've got it made.
Groucho Marx (1895-1977)
yeah it happens when you use the insert record behaviour. When it goes to the success page, you cannot use request.form or request on there (or so it seems)
well, cant use the first way cause this is what im trying to do atm. Dreamweaver re-directs to the "record inserion page" (ie - the same page the form is on) after you hit submit .. then goes to the "success page" .
Therefore i cant use the first method cause information from the form is lost.
2nd method sounds interesting tho, do you have a simple example i can look at?
'put your information into Session
'Session("AnyNameYouWant" = someValue
'Session("AnyNameYouWant" - give a name to Session object
'that you will use later
'someValue - any value you need to assign to Session
Session("FirstName" = "John"
'get value from the Session object on the page you need
Response.Write(Session("FirstName")
or
Dim strFirstName
strFirstName = Session("FirstName"
Response.Write(strFirstName)
Is it clear?
But I'm sure you can use first way - post your code and we'll see how to. Good Luck!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.