Try StructKeyExists:

<cfif StructKeyExists(SESSION, "eventID" & REQUEST.theEventID &
".registration.groupBookingID")>

On 3/30/07, Richard Cooper <[EMAIL PROTECTED]> wrote:
> I'm doing something wrong which I'm sure it obvious to most.
>
> I would like to see if a session variable has been defined.
>
> I'm using:
> <cfset request.theEvenID = 70 >
> ....
> <cfif isDefined(SESSION['eventID' & 
> REQUEST.theEventID].registration.groupBookingID)>
>
> So on this occasion I would be checking for the existance of 
> SESSION.eventID70.registration.groupbookinID
>
> I'm getting all sorts of errors with slight variances, can anyone spot what 
> I'm doing wrong?


-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274184
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to