Questions tagged [xdomainrequest]

The XDomainRequest object is implemented in Internet Explorer 8–10 and can be used to do cross-domain asynchronous requests and it also has support for streaming the content.

The XDomainRequest object was implemented in IE8 and can be used to do cross-domain asynchronous requests. It also has support for streaming the content.

Eric Law has explained its use in an IEInternals blog post: COMET Streaming in Internet Explorer

122 questions
3
votes
1 answer

Cross dromain posting data in ie9 from http server to https server

I have user entered data that is being posted to different domain and a different protocol. After doing some reading, I discovered that Microsoft's XDomainRequest object doesn't allow for cross-origin interactions (Different protocols, ports, #7…
Stuart Nelson
  • 4,202
  • 2
  • 23
  • 26
3
votes
0 answers

New html script tag vs XMLHttpRequest / XDomainRequest

I am trying to get around the lack of support for XDomainRequest in IE6. I think I have a solution but was wondering what the opinion is on this approach?... I only need to perform GET requests, so instead of trying to create an XDR object, I…
Nick
  • 6,366
  • 5
  • 43
  • 62
3
votes
1 answer

jQuery $.ajax extension XDomainRequest onprogress

The short version: I want to get this to work with this: The long version: I want to create a jQuery extension that adds a progress method to the $.ajax object and which works with IE8 & IE9's XDomainRequest object. Currently, using the above…
Rowan
  • 71
  • 7
3
votes
2 answers

XDomainRequest - not calling...not doing anything

I've a problem...I use jQuery ajax to call a web service that returns XML. The jQuery ajax stuff works awesome for every browser except for ie. So for ie browsers, I am using XDomainRequest. Here is the code: if ($.browser.msie &&…
jdb1a1
  • 1,045
  • 1
  • 13
  • 32
3
votes
1 answer

XDomainRequest - Get response body on error

I'm having trouble with XDomainRequest onerror handler. When error occurs, I don't seem to be able to get the body of HTTP response (through xdr.responseText). Successful requests (200 OK) work fine. Here is the request: POST http://localhost/path…
Tom Pažourek
  • 9,582
  • 8
  • 66
  • 107
2
votes
2 answers

Cross-Site XmlHttp (XDomainRequest)

I'm writing a web-based tool for my company and it is running off the local intranet and running in IE8. I believe since the company computers are in a SOE, nobody has control over the browser settings except the IT department and they will be…
Ozzah
  • 10,631
  • 16
  • 77
  • 116
2
votes
0 answers

Trouble with XDomain Request to node server in IE8

I've been having trouble trying to issue a CORS request via the XDomainRequest object in IE8. For my code, I need to send a POST request with some data to a server which then passes that data along through several other services. I've gotten the…
2
votes
1 answer

IE9 CORS - xdomain: Timeout waiting on iframe socket

I'm trying to do a CORS on ie9 using ie9proxy.html: "xdomain: Timeout waiting on iframe socket" Hint: my ie9.proxy.html doesnt return the "X-Frame-Options" header …
Artur Stary
  • 724
  • 2
  • 13
  • 30
2
votes
1 answer

AngularJS $http.post error in Internet Explorer <= 9

I have the following bit of code, which works fine in every modern browser, but fails in Internet Explorer 9 and below. authService.login = function(credentials) { return $http.post('https://example.com/login', credentials).then(function(res) { …
Pier-Luc Gendreau
  • 13,553
  • 4
  • 58
  • 69
2
votes
1 answer

Handle specific 404 error and get responseText with XDomainRequest for IE

I am using CORS to make cross domain call. My problem here is I need to handle the 404 error in XDomainRequest in IE. In XDomainRequest I can only find onerror event to handle all the error event, but in my requirement I need to show empty…
2
votes
0 answers

Parse (Coud Code) with Internet Explorer 9... over HTTPS

I'm trying to log onto a parseapp.com-hosted site with an IE9 browser. I'm getting this error: "IE's XDomainRequest does not supply error info" I'm accessing the webpage via SSL (https://myapp.parseapp.com).. Using latest (1.2.18) version of…
Zack Burt
  • 8,257
  • 10
  • 53
  • 81
2
votes
0 answers

XDomainRequest to different server with different protocol

I'm currently writing a script which is purposefully leaving out jquery as a dependency. So with Native JS I am making a CORS request to a server. However, I can't control the protocol of the browser. Some may be http:, some may be https:. The…
Blaine Kasten
  • 1,633
  • 1
  • 15
  • 27
2
votes
0 answers

Cross-domain error using RequireJS on IE9

I am using RequireJS to load several (xdomain) files from domainB to domainA including the AngularJS framework as follows: var basePath = DOMAIN_B; require.config({ baseUrl: basePath+"js/scripts/", paths: { …
hadders
  • 81
  • 10
2
votes
3 answers

How do i use XDomainRequest? Trying to access JSON cross domain Cors working for everything but IE

I made some code that accesses a JSON file, extracts the objects and using jquery to append the html This is done using CORS. This works perfect in everything but IE 8 and 9. I read that XDomainRequest is the way to go to make this work but i have…
user1242345
  • 67
  • 3
  • 8
2
votes
2 answers

Cannot accept XDomainRequest POST to WebAPI

I have a controller class and I can initiate a Get call on the API but when I try a POST command I get HTTP/1.1 415 Unsupported Media Type Is there somewhere that I have to allow POST? I placed [HttpPost] in front of the method but no luck. public…
spanout
  • 165
  • 1
  • 2
  • 10
1 2
3
8 9