Hi Kevin,
A HREF takes you to another page from a link.
CFHTTP is used within a CF page to go off and maybe POST information to
another page, or get content from a page, and then continue processing back
in the same page.
> From: "Parker, Kevin" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Fri, 16 Feb 2001 14:02:39 +1030
> To: CF-Talk <[EMAIL PROTECTED]>
> Subject: RE: CFHTTP
>
> Can't offer a solution but I'm just curious to know how CFHTTP differs from
> A HREF
>
>
>
> +++++++++++++++++++++
> Kevin Parker
> Web Services Manager
> WorkCover Corporation
>
> [EMAIL PROTECTED]
>
> www.workcover.com
>
> p: +61 8 82332548
> f: +61 8 82332000
> m: 0418 800 287
>
> +++++++++++++++++++++
>
>
> -----Original Message-----
> From: Martin S [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 16 February 2001 8:42:AM
> To: CF-Talk
> Subject: CFHTTP
>
>
> Hi,
>
> I have written a rather complex CFHTTP method POST agent and constantly am
> receiving the Connection Failure output. My CF file with the cfhttp tag
> resides on the local host and the page being "POST(ed)" is remote.
>
> When display the #CFHTTP.ResponseHeader# the following error is displayed :
>> Error Diagnostic Information
>> Expression result cannot be converted to a string
>>
>> Expressions used inside tags like CFOUTPUT, CFQUERY, CFMAIL, etc. > must
>> evaluate to a value that can be converted to a string for output or dynamic
>> text accumulation purposes. Complex objects, such as queries, arrays, and
>> COM/DCOM objects, cannot be represented as strings.
>
>> The error occurred while processing an element with a general identifier of
>> (#CFHTTP.ResponseHeader#), occupying document position (26:1) to (26:23).
>
> I then made a simple CFHTTP method = get that requested a blank page on the
> local computer/local drive and directory. I receive the SAME error. The
> page being requested just outputs HELLO WORLD..and I still receive the
> Connection Failure error.
>
> I can't figure this out. I have done several other CFHTTP tags before with
> no problems.
>
> Any help would be much appreciated.
>
> Thanks
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists