Ok. I've gotten to where I can read it, but this is what is happening. ASP is doing the following:
Response.Cookies("lsisummer")("userID") = intUID Response.Cookies("lsisummer")("userLevel") = intLevel So the cookie's name is lsisummer, and it contains the key/value pairs userID=intUID and userLevel=intLevel. In ASP you can then read out each of the key/value pairs individually such as: Response.Write(Request.Cookies("lsisummer")("userID")) I'm trying to do the same thing in ColdFusion, but the only thing I've been able to do is write out COOKIE.lsisummer, which prints out: userID=15&userLevel=1 If I try to do COOKIE.lsisummer.userID, or COOKIE.lsisummer["userID"] it doesn't work because, as I've discovered, lsisummer isn't a struct. Is there a built-in way to accomplish this, or should I just write a UDF to copy the string into a structure? Thanks, Jared -----Original Message----- From: Nick McClure [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 10:13 AM To: CF-Talk Subject: Re: Reading cookies set with ASP It can be done. If you have debugging turned on, take a look at the cgi variable that holds the cookies, I can't remember which one. If you don't output the value of that variable. If the cookie isn't there it might have been set at a different domain. Make sure you know where ASP is setting the cookie. At 10:09 AM 4/16/2002 -0600, you wrote: >Hi. I'm trying to print out a cookie from CF that was set in ASP but it >doesn't seem to be working. Has anyone done this before and could you >point me in the right direction? > >TIA, >Jared > > ______________________________________________________________________ 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists