Bill,
What you've done here is to merely pass the form data to your asp page. You
must add the following (after the CFHTTP tags) if you want that CFM template
to display the results from the asp page:

<cfoutput>#cfhttp.content#</cfoutput>

Hope this helps.

Leong

-----Original Message-----
From: Bill Plummer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 25, 2000 6:11 AM
To: [EMAIL PROTECTED]
Subject: Posting with <CFHTTP> to an Active Server Page


Has anyone got the information on how to post to an ASP with the CFHTTP tag.
I can post with another ASP or with an HTM file, but no luck with a CFM
using the tag.

In the sample code below I'm just posting a form variable.  The asp page
just prints back to me anything that comes in.  Works fine with an ASP or
HTM page...  But not with the code below in a CFM page.

<CFHTTP METHOD="POST"  URL="http://127.0.0.1/ASPPostTest.asp">
        <CFHTTPPARAM TYPE="Formfield"
                VALUE="#Variables.ASPTest#"
                NAME="MyFormField">
</CFHTTP>

Thanks,
Bill

----------------------------------------------------------------------------
--
 Archives: http://www.eGroups.com/list/cf-talk
 To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to