Jim,
    If you do not specify the scope of the variable, according to the docs, CF will 
search for it in this order:
  1.. Local variables created using cfset and cfquery 
  2.. CGI 
  3.. File 
  4.. URL 
  5.. Form 
  6.. Cookie 
  7.. Client 
Supposedly, scoping your variables will improve speed as well, but I am not sure how 
much.  I scope my variables anyway, just so I know where they are coming from.

HTH,
Tim P.



----- Original Message ----- 
From: "Jim Taylor" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, September 06, 2002 2:47 PM
Subject: Variable Precedence


> Is there a  Precedence in the order Variable assignment.
> IE
> If for some reason you have variables named the same which one has
> Precedence.
> 
> If So does any one have a list of the Variable Precedence.
> Thx
> Jim
> 
> 
______________________________________________________________________
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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to