OK so it seems like I got up too early and need more sleep! I found the issue was down to something silly elsewhere in my code. Thanks
> Hi, > > OK this one has me totally stumped... > > If I run the following code the first line dumps the contents of var1 > yet the second line produces an error saying that var1 doesn't exist. > > > <cfdump var="#session.currentUser.var1#"> > <cfset var3 = "#var2##session.currentUser.var1#" /> > > There is no code in between so how is this even possible? > > Note: this only happens in certain circumstances but I just cannot > work out how it exists on one line but not the next. > > Thanks, Richard ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357925 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm