This is the order in which CF evaluates variables if they aren't scoped.

1.  Local vars created using CFSET and CFQUERY
2.  CGI vars
3.  File vars
4.  URL vars
5.  Form
6.  Cookies
7.  Client

-Phoeun




-----Original Message-----
From: J.Milks [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 20, 2000 9:39 AM
To: CF-Talk
Subject: Order of variable scope checking


This is a multi-part message in MIME format.

------=_NextPart_000_0190_01C052DE.297191E0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all,
I once read the order in which CF evaluates variables if they are not =
scoped. Can someone refresh my memory on the order? (i.e: local, url, =
etc.)

Thanks,

James


------=_NextPart_000_0190_01C052DE.297191E0
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I once read the order in which CF =
evaluates=20
variables if they are not scoped. Can someone refresh my memory on the =
order?=20
(i.e: local, url, etc.)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>James</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0190_01C052DE.297191E0--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to