It's possible the action page has some sort of referrer security.  You might
be out of luck.  When you use the site and post the form is the results page
the same url as the page your posting to?

-e

-----Original Message-----
From: Les Mizzell [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 05, 2005 5:05 PM
To: CF-Talk
Subject: Still struggling with cfhttp

I'm still struggling to get a form to work with cfhttp. I've been 
plowing through docs, but I must be missing something.

OK, my form, which located here:
https://www.myserver.com/myForm.cfm

post to an outside server like this:

<cfhttp
    method="Post"
    url="https://www.someserver.com/Process.aspx";>

    <cfhttpparam
        type="Formfield"
        name="strFirstName1"
        value="#form.strFirstName1#" />

</cfhttp>


I'm not seeing any errors here, so it must be posting to the server 
correctly. Also, if I switch and just post the FORM straight to the 
process URL, I get the correct results returned to the browser.

Where I'm still having trouble it displaying what's returned back to the 
browser.

Shouldn't I just be able to run:

<cfoutput>#cfhttp.filecontent#</cfoutput>

....on my page (https://www.myserver.com/myForm.cfm ) and see the raw data 
was returned?

When I do, I get: Connection Failure.  Status code unavailable.
So, something ain't right...


What am I doing wrong? I've found a lot of cfhttp tutorials, but nothing 
that seems to exactly fit what I'm doing, which I didn't think to be 
that weird.

-- 
-----------
Les Mizzell



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220167
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to