> I'm setting a cookie with cfcookie on www.domain.com. I want > the cookie to be available to fun.domain.com. So after > reading the docs, and it doesn't work, I came up with .... > > <!--THIS TAKES INTO ACCOUNT ANY SITES THAT HAVE THE > DOMAIN.COM DOMAIN NAME --> <cfcookie > expires="#CreateTimeSpan(0, 0, 20, 0)#" name="SAVE_RECIPE" > value="#verify_email_password.savacc_id#" domain=".domain.com"> > > <!--THIS SETS THE COOKIE FOR THE DEVELOPMENT AND PRODUCTION SERVER --> > <cfcookie expires="#CreateTimeSpan(0, 0, 20, 0)#" > name="SAVE_RECIPE" value="#verify_email_password.savacc_id#">
You have to use the DOMAIN attribute every time you set the cookie. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267732 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

