Guess you're right. It WOULD still be in the session struct. It's been a long day of autocomplete hell and I'm an idiot.
<cfset "qNum#session['qNum' & form.qNum]#" = form.answer> would be the one that creates a variable called "qNum(n)" with the value of form.answer in it ... aaaaaaaand I'm spent -----Original Message----- From: Chris Peters [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 19, 2004 3:51 PM To: CF-Talk Subject: Re: Using a form field name as part of the name of a session variable >>> <cfset session["qNum#form.qNum#"] = form.answer> How does the syntax you mentioned not put it in the session scope? I could be learning something new here, but isn't the session scope treated like a struct? You're using struct syntax there. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:181930 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

