If you want to read the raw headers, you can use cfhttp.

If your header is a simple value you can output it like so:
#cfhttp.responseHeader[your_header_key]#

Otherwise loop over the key array:
<cfset key=cfhttp.responseHeader[your_header_key]>
<cfloop from=1 to="#ArrayLen(key)#" index="x">
  <cfoutput>
    #x# - #key[x]#<br>
  </cfoutput>
</cfloop>

In regards to your question, Is CFHTTP specifically used for reading text
files?
No, it can - but it is not used specifically for that purpose.

HTH,

Joseph DeVore
VeloxWeb Technologies



-----Original Message-----
From: Alan Walker [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 20, 2001 11:11 AM
To: CF-Talk
Subject: Reading header variables in Cold Fusion


Hello All,

I am developing an application that requires variables passed from an
existing system.  The existing system is behind a firewall so I am
unable to write an LDAP query to get to the information.  The have
informed me that they can send the information needed via a set of
header variables.

Does anyone know what CF function allows you to read header variables?
I know there has been some discussion about CFHTTP but isn't that
specifically used to read a text file?

Your input in much appreciated.

Regards,

Alan Walker
Technical Lead
V�rit� Multimedia, Inc.
http://www.verite.com
DVD * CD * Web * Print * Film * Sound




______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to