Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re:XMLHTTP Access is deined XMLHTTP Access is deinedTo: NULL Date: 6/3/2005 12:10:00 PM If on a machine with the IE security setting "Submit nonencrypted form data" set to prompt, when I run the following code... Dim HTTPObj As New XMLHTTP40 HTTPObj.open "POST", "http://www.something.com/test.asp", False HTTPObj.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" HTTPObj.send "MyData=" & SomeBigString The user is prompted: "When you send information to the Internet, it might be possible for others to see that information. Do you want to continue?" If they say no, I get an "Access is denied" error on my call to .send() Unfortunately, I need to call this code over and over again so I don't want to ask the user everytime. In fact, I've already got user approval to be sending this data in my own dialog. So, the question is: how do I supress this dialog? Changing the method to "GET", dropping the request header, and including the data in the querystring gets rid of the prompt but gives me a different error because it's trying to send too much data. I've also tried changing my URL to a valid HTTPS site hoping that this would render the prompt unneccessary (since the data would then be encrypted when sent). Unfortunately, that had no affect. I could also find the registry key for this setting, back it up, alter it as if the user chose to enable sending unencrypted data over the web, send my data and restore the registry key. I was hoping for a cleaner solution than temporarily messing with the user's settings. Any other suggestions or ideas!? | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
