Not always. ;-)
cfparam name="bob" default="123"
cfparam name="url.bob" default="234"
cfparam name="form.bob" default="345"
cfparam name="attributes.bob" default="456"
cfoutput
bob = #bob# br
url.bob = #url.bob# br
form.bob = #form.bob# br
attributes.bob = #attributes.bob# br
/cfoutput
[EMAIL
Same context.
cfparam name="SESSION.blah" default="whatever"
Or
cfset SESSION.blah="whatever"
But I'm not quite sure that is your question. Unless you define the scope
(session, application, etc.) the scope is always "Variables" scope (local
to the template). Read up on scoping variables in
Hi Dana,
I use the context of the variable as part of the 'name' in cfparam.
I.E. cfparam name="session.FirstName" default = "bob"
Try it and see if it works for you.
/LEMAN/
-Original Message-
From: Dana Larose [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 26, 2000 2:19 PM
3 matches
Mail list logo