programmher
Programmer
I am using cfhttp to automatically log in to one site from another site.
The users see different things depending on their passwords and logins. (Example - jdoe might see one set of options while jsmith would see another set of options).
I am using the below cfhttp code to automatically log in to the other site:
<cfhttp method="Post"
url=" <cfhttpparam type="formfield"
value="jdoe"
name="loginname">
<cfhttpparam type="formfield"
value="testuser"
name="loginpassword"
</cfhttp>
<cfoutput>
File Content:<br>
#cfhttp.filecontent#<br>
</cfoutput>
The login.html file is included in the main MemphisTreasures page. The values are hidden.
When I run my tests, I keep getting "Connection Failure".
Can someone tell me why or another (easier) way to do this?
I have looked through Macromedia's TechNotes and so far, nothing has helped me resolve this error.
The users see different things depending on their passwords and logins. (Example - jdoe might see one set of options while jsmith would see another set of options).
I am using the below cfhttp code to automatically log in to the other site:
<cfhttp method="Post"
url=" <cfhttpparam type="formfield"
value="jdoe"
name="loginname">
<cfhttpparam type="formfield"
value="testuser"
name="loginpassword"
</cfhttp>
<cfoutput>
File Content:<br>
#cfhttp.filecontent#<br>
</cfoutput>
The login.html file is included in the main MemphisTreasures page. The values are hidden.
When I run my tests, I keep getting "Connection Failure".
Can someone tell me why or another (easier) way to do this?
I have looked through Macromedia's TechNotes and so far, nothing has helped me resolve this error.