IsDefined takes a string. But you'll want to do structKeyExists instead anyway.
On Mon, Aug 22, 2011 at 11:50 AM, Robert Harrison < rob...@austin-williams.com> wrote: > > What am I missing here???? > > Element USERID is undefined in SESSION. > The error occurred in > C:\inetpub\wwwroot\vaughn_college_portal\_main_securecheck.cfm: line 3 > 1 : <!--- if the cookie is here, procees to dashboard ---> > 2 : <cfset validated_id="0"> > 3 : <cfif isDefined(session.userid)> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346938 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm