As a reminder, and a bit off topic, and if one of the earlier repliers said
this, please forgive...
Do not forget that the Session scope is a structure. There is NO need to do
Evaluate("Session.#dynamic#"). Simply do:
COLLECTION="#Session[Dynamic]#"> where Dynamic == a valid key in the struct.
Ditto for your copy..
<CFSET Form[locField] = Session[Attributes.StructName][locField]>
> A: Locking the whole loop...
>
> <cflock type="EXCLUSIVE" scope="SESSION" timeout="10">
> <cfloop collection="#evaluate("session.#attrubites.StructName#")#"
> item="locField">
> <cfset "form.#locField#" =
> evaluate("session.#attrubites.StructName#.#locField#")>
> </cfloop>
> </cflock>
>
>
=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia
Email : [EMAIL PROTECTED]
ICQ UIN : 3679482
"My ally is the Force, and a powerful ally it is." - Yoda
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists