I have a form whose fieldnames are generated by an array
created by a query. I then duplicate that array as a session scope
array so after I submit the form I can evaluate() the form field
names and get the submitted values. (see code below for
clarification)
I have decided (thanks to the advice here:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=7&threadid=1335323&am...
to incorporate cfthread to make this process much faster for my
users. However, upon testing I have learned that I need to use some
kind of a template for this to go over well, I can't just put a
cfthread tag around the code I want to be done. It seems this will
require me to get not only the array but also the form results to a
template somewhere.
I know I can keep the array as a session scoped array and
make sure the array name is unique, but I'm still kind of nervous
about this and would rather access it another way. Can I perhaps
create a function that would accept an array? Also, I have no idea
how to pass the form values.
I'm upgrading from 4.5 to 8 so I'm still learning about
functions and threading and all that good stuff.
Thanks for your help!