Yea that's what I thought ;) SO I was wondering what these ASP boneheads are smoking thinking they are going to be able to read an ediets.com Cookie from their site. Duh
But I figured I might have missed something Bill Wheatley Senior Database Developer Macromedia Certified Advanced Coldfusion Developer EDIETS.COM 954.360.9022 X159 ICQ 417645 ----- Original Message ----- From: "Howie Hamlin" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, July 11, 2002 2:21 PM Subject: Re: CFCookie? > Cookies are not available to other domains/sites for security reasons. > > HTH, > > -- > 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: Thursday, July 11, 2002 3:13 PM > Subject: CFCookie? > > > > I need a cookie to be read by another site. Can someone explain how this > > works? What's the difference between CFCookie and cfset cookie.blah = > > ..? Of course my site is CF, but the other site is ASP. They just want > > verification that the user is logged in. > > > > I tried this: <cfset cookie.eD = "OK"> > > And I can't see it in my C:\Documents and Settings\Greg\Local > > Settings\Temporary Internet Files directory. > > > > Here's the code I need to see the cookie on the other end: > > <% > > 'this is the code that prevents unauthorized users from viewing these > > pages. > > thebrowser=trim(request.servervariables("HTTP_USER_AGENT")) > > if not instr(thebrowser,"Robot) allrec") > 0 then > > eDCookie=Trim(Request.Cookies("eD")) > > if eDCookie<>"OK" then response.Redirect("/NotAuthorized.asp") > > end if > > %> > > > > > > Greg Luce > > eDiets.com > > 3801 W. Hillsboro Blvd > > Deerfield Beach, FL 33442 > > [EMAIL PROTECTED] > > 954.360.9022 x116 > > > > > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm 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

