> I though CF would automagicly try attributes.,cookies., etc.
> if you just
> gave it a variable name ?
There are some variable scopes which you have to explicitly state. Found
this in the Studio docs under "variables"
======================================
Order of ColdFusion variable look-ups
When scoping is not used, that is, when you don't include a variable prefix,
such as "Form.myformvar," ColdFusion attempts to find variables in the
following order:
Local variables created using CFSET and CFQUERY
CGI variables
File variables
URL variables
Form variables
Cookie variables
Client variables
Note ColdFusion does not attempt to automatically find Application,
Session, Server, and Request variables, nor does it try to find CFML tag
variables, with the exception of File variables. You must use prefixes with
these variables.
======================================
I guess "nor does it try to find CFML tag variables" means you also have to
prefix attribute scope variables as well.
--
Aidan Whitehall <[EMAIL PROTECTED]>
Netshopper UK Ltd
Advanced Web Solutions & Services
http://www.netshopperuk.com/
Telephone +44 (01744) 648650
Fax +44 (01744) 648651
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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