Help!! I'm trying to invoke a .NET Webservice that makes use of Session States. The first call to the WS returns the .NET SessionId that is to be used in all following calls. The first call works grest, but all subsequent calls fail stating that the object has not been created. The following .NET code works in ASP.NET ***************************
Private Function WebServiceObject() As EcgWS.DealerApprovals Static wso As EcgWS.DealerApprovals Static cookies As System.Net.CookieContainer Static webserviceurl As Uri If wso Is Nothing Then wso = New EcgWS.DealerApprovals End If If cookies Is Nothing Then cookies = New System.Net.CookieContainer End If wso.CookieContainer = cookies If webserviceurl Is Nothing Then webserviceurl = New Uri(wso.Url) Else wso.Url = webserviceurl.AbsoluteUri End If Return wso End Function ********************************* The key to making it work is to use WSO.cookieContainer. Can someone please help with the CF equivalent? Or does anyone have experience with this that they might be able to share? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create Web Applications With ColdFusion MX7 & Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281034 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4