Greg,
        I am not 100% sure if this can be done..
        Its also worth trying to post the cookie for the ASP site.. using CFHTTP
and
        CFHTTPPARAM before the transition is made to the ASP site

Joe
Certified Advanced ColdFusion Developer
[EMAIL PROTECTED]

-----Original Message-----
From: Greg Luce [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 3:13 PM
To: CF-Talk
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


______________________________________________________________________
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

Reply via email to