all unscoped variables are part of the variables scoped.

<cfset temp = "testing">
<cfoutput>#temp#</cfoutput>

is also

<cfoutput>#variables.temp#</cfoutput>

this happens no matter what page it is set on, includeing the
application.cfm. if you want a variables to be in the appliction scope, you
have to deliberatly set it there:

<cfset application.temp = "testing">
<cfoutput>#application.temp#</cfoutput>

Anthony Petruzzi
Webmaster
954-321-4703
[EMAIL PROTECTED]
http://www.sheriff.org


-----Original Message-----
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 04, 2002 11:12 AM
To: CF-Talk
Subject: Re: unscoped variables


If they are created in the Application.cfm page, they are application
variables (application.whatever)

Paul Giesenhagen
QuillDesign

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, June 04, 2002 10:04 AM
Subject: unscoped variables


> I'm trying to clean up some code on an old application.  If there are
> currently unscoped variables defined using cfset on an application.cfm
page,
> what scope are these created in?
>
> Thanks!
>
>
> 

______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to