Hi all,
This is my first time to use <CFHTTP>. 

Just for testing I have one file called test.cfm as:

****************************
<body>
<cfparam name="id" default="123">
<cfset id = "form.id">

<CFHTTP METHOD="POST" 
                URL="testAction.cfm"
                username="mbaig"
                password="mirza"
                resolveurl="yes"
                >

<cfhttpparam name="name" type="formfield"
value="form.id">
</cfhttp>


<br>TESTING:<cfoutput>#CFHTTP.FileContent#</cfoutput><br>

</body>


and the testAction file is as:

<body>
<cfoutput>
<h1>
<cfparam name="id" default="123">
<cfset id = "form.id">


This is a test!<br><Br>
Test is successful!<br>
This is the id:#form.id#<br>
</h1>

</cfoutput>
</body>

*************************
The only ouput I am getting is:

TESTING:

and nothing. My aim was to get the ouput of
testAction.cfm when the following line executed in
test.cfm:

<br>TESTING:<cfoutput>#CFHTTP.FileContent#</cfoutput><br>

can someone tell me where I am doing mistake.I have
tried executing without my username and password but
id did not work.

Thanks>
Mirza


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
------------------------------------------------------------------------------
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