I'm trying to load form variables into session variables in an
application...but I'm having problems with the creating dynamically created
session variable names. Any help is appreciated.
<CFLOOP index="FieldName" list="#Form.FieldNames#">
<CFLOCK TIMEOUT="30" THROWONTIMEOUT="No" TYPE="EXCLUSIVE"
SCOPE="SESSION">
<CFSET Session.&"#FieldName#" = "#Evaluate(FieldName)#">
</CFLOCK>
</CFLOOP>
Thanks,
Ali
-------------------------------------------------------
This message (including any attachments) may contain
confidential and privileged information. If you are
not the intended recipient, please notify the sender
and delete all copies of the original message without
using or disclosing it. Thank you.
-------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4