because "cookie." is the scope, not part of the cookie name. try this:
<cfif NOT IsDefined("cookie.dealerName")> <cfcookie name="dealerName" value="Dealer Name" expires="30"> </cfif> <cfoutput>#cookie.dealerName#</cfoutput> /t >-----Original Message----- >From: Phill B [mailto:[EMAIL PROTECTED] >Sent: Tuesday, January 18, 2005 4:42 PM >To: CF-Talk >Subject: Why wont this cfcookie set? > >I have this in my page. > ><cfif NOT IsDefined("cookie.dealerName")> > <cfcookie name="cookie.dealerName" value="Dealer Name" >expires="30"> ></cfif> > ><cfoutput>#cookie.dealerName#</cfoutput> > >Then when I try to output the cookie value I get an undefined in >cookie error. Am I missing some thing here? > >-- >Phillip B. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190931 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54