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>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8
Archive:
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3002
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15