In my application, we use the XDR objects (XDomainRequest for IE8 to IE10 and EventSource for other browsers) to open a sticky connection to the server.
However, IE11 doesn't implement the XDomainRequest anymore.
What should I use for IE11? XMLHttpRequest 2?
Internet Explorer (IE) 11 is the last major version of Internet Explorer. On June 15, 2022, the Internet Explorer 11 desktop application is no longer be supported on certain versions of Windows 10*. Customers are encouraged to move to Microsoft Edge, which provides support for legacy and modern websites and apps.
Microsoft Edge has now officially replaced the Internet Explorer 11 desktop app on Windows 10. But the fact that the MSHTML engine will exist as part of the Windows operating system through 2029 means organizations are at risk of vulnerabilities in the browser engine — even if they are no longer using IE.
Open Internet Explorer, select the Tools button , and then select Internet options. Select the Security tab, choose one of the security zone icons (Local intranet, Trusted sites, or Restricted sites), and then select Sites. You can add sites to the zone you chose, or delete sites that you no longer want in this zone.
Open Internet Explorer, select Tools > Internet options. Select the Advanced tab. In the Reset Internet Explorer Settings dialog box, select Reset. In the box, Are you sure you want to reset all Internet Explorer settings?, select Reset.
According to MSDN's Compatibility changes in IE11:
The XDomainRequest object is replaced by CORS for XMLHttpRequest.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With