If it's a local variable in a function, you'll scope it as local.varname If it's a local variable in a CFM page, you'll scope it as variables.varname
if it's in the request scope, then it's request.varname if it's in the session, then it's session.varname application, application.varname form, form.varname ad nauseum.. On 5/16/2012 9:26 AM, N kips wrote: > Greetings, just need some help to understand how CF works in regards to > variables. > > Can CF might mix-up the variables, unless the variables are in the session? > > Is this sufficient? > > <cfset var = GetAuthUser()> > > or should I say > > <cfset session.var = GetAuthUser()> > > It is just a variable that is used to hold data which will be processed, but > the data is different from user to user. Do not want to process one user's > data in place of another. > > Appreciate it. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:351201 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm