> You mention the cookie...there does appear to be one being set.. > extracted from header: > "private Set-Cookie: ASP.NET_SessionId=bifpcg2ritgn1v45o4y45ovo;" > > I see my response above was a bit off... > I works if I go to the final URL (the one pointed to by the > re-direct) in my browser....but not when I run my CFM file > (which also points directly to the final URL) > > BTW...how would I send along the cookie?
You would have to read it from the first HTTP response, using CFHTTP.ResponseHeader or CFHTTP.Header, then send it along in the next request using CFHTTPPARAM. Now, while CFHTTPPARAM allows you to set TYPE="COOKIE", this may not work for you since it URL-encodes cookie values, which may break your cookie. Instead, you might use TYPE="HEADER", then specify a name of "Cookie" and the value of the cookie for the CFHTTPPARAM value. I ran into this exact problem when using CFMX to talk to a Breeze server through the Breeze XML API. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199011 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54