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
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.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