Something like: <cfheader name = "Set-cookie" value = "mycookie=somevalue; path=/; domain=*.ediets.com">
You can also insert an expires parameter to set the expiration of the cookie. HTH, Howie ----- Original Message ----- From: "Greg Luce" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, July 12, 2002 5:36 PM Subject: RE: Cookie anyone? > Can you break that down a little for me? Where/How would I be setting > the cookie name and value? With CFCOOKIE? > <cfcookie name="AR" value="OK" expires="NEVER"> Where would I put the > "*.ediets.com"? > > Greg Luce > eDiets.com > 3801 W. Hillsboro Blvd > Deerfield Beach, FL 33442 > [EMAIL PROTECTED] > 954.360.9022 x116 > > > -----Original Message----- > From: Howie Hamlin [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 12, 2002 3:24 PM > To: CF-Talk > Subject: Re: Cookie anyone? > > > Setting a cookie simply adds a header to the document returned to the > browser. And, since you can send multiple Set-cookie headers in your > response it will not interfere with CFID/CFTOKEN. You can set the > cookie name and value and add a domain with a wildcard like > "*.ediets.com". > > The spec is here: > > http://wp.netscape.com/newsref/std/cookie_spec.html > > Regards, > > -- > Howie Hamlin - inFusion Project Manager > On-Line Data Solutions, Inc. - www.CoolFusion.com - 631-737-4668 x101 > inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server > >>> Find out how iMS Stacks up to the competition: > >>> http://www.coolfusion.com/imssecomparison.cfm > > ----- Original Message ----- > From: "Greg Luce" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Friday, July 12, 2002 5:16 PM > Subject: Cookie anyone? > > > > Anyone have any ideas on setting domain level cookies when you're > > running CF4? It doesn' support the "domain" parameter in <CFCOOKIE> > > and also doesn't allow "setdomaincookies" in a <CFAPPLICATION> tag. > > Javascript perhaps? > > > > Greg Luce > > eDiets.com > > 3801 W. Hillsboro Blvd > > Deerfield Beach, FL 33442 > > <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] > > 954.360.9022 x116 > > > > > > > > ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

