CFHTTP does not allow a GET request to pass header information (like cookies). CFX_HTTP does allow a GET request to pass header information (like cookies).
I recently was given the task of pulling xml from LiveLink and using xslt to reformat the xml and xsl to format the xml to html while being able to use Cold Fusion functionality. LiveLink expects a few cookies to be set. It also expects a GET request. Of course, CFHTTP did not work. CFHTTP (even still in CF5) does not allow the CFHTTPPARAM tag with a GET method. In the past folks have encountered this on the list. I did not find the solution posted. I downloaded CFX_HTTP. It worked. I was able to Pass the cookies in a GET request. I had to do a CRLF and have "COOKIE:" on its own line to get it to work in the AddlHeader param. (e.g. AddlHeader=" COOKIE: some-cookies-here; ") Here is a modified snippet. <CFX_HTTP URL ="#URL#" USERAGENT ="Mozilla/4.0(MSIE 7.01;Windows XP;RiceIsNice.net)" USERNAME ="johnjrce" PASSWORD ="beerisnice" AddlHeader =" COOKIE: LLInProgress=%2F%2F;LLCookie=LIVELINK_DEPTX; " > I just wanted to put a possible solution (that works for me) out there where it is searchable. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists