Yep, I see your point, you reminded me about it before. In the .Net, the login.aspx is the login form as well as login action as it submits to itself. The reason why I did not explain it that clearly as I didn't think it matter (?) and we have a lot messages just discussed on what is what and Sorry if it make some different ;)
-----Original Message----- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Monday, 6 November 2006 2:06 AM To: CF-Talk Subject: Re: Using CFHTTP to login >>The same as I did with the login form in CF. We didn't have any cookie from ....net yet when we go to login form in CF but still working well. Now wait a minute. The CF FORM works, but then the ACTION requested by CFHTTP doesn't right? But the CF form doesn't have the session cookie set by the .NET form, and then cannot transmit it to the action. This could be enough to make the login fails. So, if I were you, I'd try this : 1. CFHTTP the .NET FORM first, 2. get the session cookie, 3. CFHTTP the ACTION with this session cookie. You already tried something similar: <!--- First http request to get cookie info ---> <cfhttp url="http://www.mycompany.com/Login.aspx" method="get" resolveurl="yes" port="80" throwonerror="yes" redirect="yes" useragent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7"/> <!--- create cookieStruct ---> ................. but here you call the action page, you should call the FORM page to get the correct session cookie, not the action page. -- _______________________________________ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259221 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4