Hi, I'm hoping this is just a question of syntax. Is it possible to set part of the name of a session variable using the name of a form variable? The form name is dynamic too. Here's the code that ain't working: <cfset session.qNum#form.qNum# = form.answer> ^^^^^^^^^ For example, what I'd like to set in the above line of code is a session variable named "qNum2", or whatever value "form.qNum" is. If this doesn't work, I can always hard code it using a 1000 line cfswitch block, but no one (me most of all) wants to see that :-) Thanks in advance. Sincerely, Andrew
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=38 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:181889 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54