Hi Don, First time I've seen this posting.
>From what I can gather, you want to log into a protected area of a third party site from within a protected area of your application, automatically. Basically you're attempting to offer seamless integration of the two applications. OK, now from your explanation below of what you're attempting to do, you're logging the CF Server machine into the third party protected site by using cfhttp. This means that all session variables and client variables being used by the third party will be those of the CF Server. However, If you use the JS onload method you mentioned, then you're logging the client machine into the third party site and attempting to use cfhttp thereafter, which is really a case of the cf server machine trying to access the (still) protected pages. Now, as I don't know the details of the asp login script, it's hard to explain *why* you're getting the connection error, but a couple items spring to mind. First, the login script is probably firing a redirect command, which is causing cfhttp to believe there is a connection problem. The other item which springs to mind is that I have found that if I attempt to cfhttp to a file within a protected area of any of my apps, I also get a connection error, unless of course I specify access permissions to the file in question by the cfserver machine. This is pointing my reasoning back to the redirection issue. As or suitable workarounds, well I'm afraid I can't help you with the current info available, but hopefully I've given you a little food for thought. HTH Dave > -----Original Message----- > From: Don Vawter [mailto:[EMAIL PROTECTED]] > Sent: 05 December 2001 00:15 > To: CF-Talk > Subject: Really? nobody has any ideas? > > > This is the third time I have posted this without a single response. I > thouht I would try once more. > No answer is better than a wag I guess but surely somebody else has had > problems with cfhttp and > received a connection error. > > TIA > > Don > > > > I am attempting to use cfhttp to automate my login to another site. > > The login "action page" is checklogin.asp. If I cfhttp to that > page using > port 443 and method of post > with appropriate form fields as cfhttpparam I get a connection error > > <cfhttp url="https://secure.findwhat.com/accountmanagement/checklogin.asp" > method="POST" port="443" resolveurl="true" useragent="Mozilla/4.0 > (compatible; MSIE 5.5; Windows NT 5.0) " timeout="30"> > <cfhttpparam name="user_name" type="FORMFIELD" > value="#attributes.username#"> > <cfhttpparam name="password" type="FORMFIELD" > value="#attributes.password#"> > </cfhttp> > > First Question. Why do I get a connection error. If i go to that page > directly in the browser it just redirects me to the login page (as I would > expect since the form wasnt submitted). Increasing the timeout doesnt help > and I have verified that the attributes are correct. > > I can work around this by grabbing the login form(login.asp not > checklogin.asp) with a cfhttp (GET) , populate the form fields > programatically and add js to autosubmit the form from the onloadmethod. > This logs me in but of course this is only good in an interactive setting > because the login doesn't occur until the page is served. > > My goal is to login and then move to another page within the site and grab > that page via cfhttp. > > Any suggestions. > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

