I'm having trouble getting those to work...
any ideas?
CFHTTP Example
CFHTTP Example
This example shows the ability of CFHTTP to pull
the contents of a web page from the Internet, and shows how
you can get the following information by using CFHTTP variables:
display the page (fileCont
After writing an application that depends on the cfhttp.responseheader to find
attributes returned in a cookie, all of a sudden, nothing
returns. no cfhttp.filecontent, nothing. The folks on the other end insist they
haven't changed anything, although I have tried it with different bro
Anyone know offhand how to examine cfhttp.responseHeader to tell if the cfhttp
operation has gotten a 404 error?
Thanks,
Jim
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http
Anyone used CFHTTP.ResponseHeader[http_hd_key] What is this for?
~~
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
>Anyone know offhand how to examine cfhttp.responseHeader to tell if the
>cfhttp
>operation has gotten a 404 error?
Just cfdump #cfhttp# and you should be able to get all the info you want out
of it, including the status code.
Rega
cfhttp.responseheader['status_code'] will give you the response code of 404.
Jeff
-Original Message-
From: Jim McAtee [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 1:15 PM
To: CF-Talk
Subject: cfhttp.responseHeader
Anyone know offhand how to examine cfhttp.respons
- Original Message -
From: "Dave Carabetta" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, August 05, 2003 11:28 AM
Subject: Re: cfhttp.responseHeader
> >Anyone know offhand how to examine cfhttp.responseHeader to tell if the
&
> Anyone used CFHTTP.ResponseHeader[http_hd_key]
> What is this for?
Uh, it's for reading one or more of the response headers returned by the
remote server after a CFHTTP request.
You might use this for reading cookies, for example; cookies are set in the
HTTP response header.
8 matches
Mail list logo