[thelist] Reading an ASP cookie on another application server

Peter Brunone (EasyListBox.com) peter at easylistbox.com
Wed Aug 18 14:06:49 CDT 2004


	Yeah, that's it.  I just came across cfhttp in some googling
(though, not being a CF developer, I'm not sure what the
"#cgi.http_hose#" below is all about).

-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Jeff Howden

Chris,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> Peter Brunone (EasyListBox.com)
> 
> Wow.  So it has NO idea what it's printing out...  I
> think I finally understand the depth of the problem :)
> 
> Can you do an HTTP GET request from CF?  If so, you
> could create a small .asp file that simply says
> 
> <%=Request.Cookies(Request.Querystring(cookieKey))%>
> 
> and then wrap a GET to that file in a small function
> which you could call in your CF pages. 
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

<cfhttp url="http://#cgi.http_hose#/cookie.asp" method="get"></cfhttp>
<cfscript>
  cookie_value = cfhttp.filecontent
</cfscript>

Good luck,

Jeff




More information about the thelist mailing list