Okay, I can see how this works. However, is there a way to set header variables such that they can be read using the getHTTPRequestData function - i.e. the same a function that read the standard HTTP headers would use to read the actual header variables?
Thanks -- Jeff -----Original Message----- From: Andre Mohamed [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 10:43 AM To: CF-Talk Subject: RE: Set HTTP Headers Jeff, You could also do a CFHTTP call to the page you are setting the headers on. Then cfdump cfhttp.header for the raw response header you get back from your page or cfdump cfhttp.responseHeader (which is a Structure) or use cfhttp.responseHeader["testVar"] to see if you get "testVarValue" as expected etc. Andr� -----Original Message----- From: Aaron Johnson [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 16:31 To: CF-Talk Subject: RE: Set HTTP Headers Hi Jeff, >> I am working on a project where I need to create a new HTTP Header variable. I thought this was what the cfheader tag was for, but I am not being able to make it work. What am I missing here? <cfheader name="testVar" value="testVarValue"> -- A header is something you send to the client in the response stream. So doing getHTTPRequestDate() like you do below is getting the request stream (what the client is sending to you). If you want to see the headers you're sending back to the client, there are a couple tools that plug into IE that let you see that kinda thing, or, if you want to get really geeky, break out Network Monitor in Windows 2000 and view the TCP/IP packets and filter for HTTP data. AJ Aaron Johnson [EMAIL PROTECTED] http://cephas.net/blog/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

