It was more a case of you don't need the # of " etc and to define the scope.
-----Original Message-----
From: J.J. Merrick
To: CF-Newbie
Sent: Sat Aug 18 13:31:16 2007
Subject: Re: What does this line do? session.siteSection = "#sec#"
But if variables.sec doesn't exist then it will error out...
On 8/18/07, Robertson-Ravo, Neil (RX)
<[EMAIL PROTECTED]> wrote:
> It could also be "simplified" to
>
> <cfset session.siteSection = variables.sec>
>
>
>
>
>
>
>
>
> -----Original Message-----
> From: Tom Hines
> To: CF-Newbie
> Sent: Sat Aug 18 05:49:28 2007
> Subject: What does this line do? session.siteSection = "#sec#"
>
> <CFIF ISDEFINED("sec")>
> <cfset session.siteSection = "#sec#">
> </CFIF>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta
Archive:
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3004
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15