Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatically logging in to another site

Status
Not open for further replies.

programmher

Programmer
May 25, 2000
235
0
0
US
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=&quot;Post&quot;
url=&quot; <cfhttpparam type=&quot;formfield&quot;
value=&quot;jdoe&quot;
name=&quot;loginname&quot;>
<cfhttpparam type=&quot;formfield&quot;
value=&quot;testuser&quot;
name=&quot;loginpassword&quot;
</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 &quot;Connection Failure&quot;.

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top