CORS request with IE11

前端 未结 6 2043
误落风尘
误落风尘 2020-12-02 18:55

I have a CORS (cross origin resource sharing) request coming from my login page to the application site, on a different URL. I have a simple page I ping to determine if a us

6条回答
  •  Happy的楠姐
    2020-12-02 19:48

    After a lot of digging i found that the page that i'm pinging using ajax is on the internet zone while my current page in on the intranet zone.

    IE 11 has the "Protected Mode" enabled for internet sites and when this is enabled cookies are not being sent to the site that i'm pinging even if they belong to that domain.

    Adding the page to the trusted sites, or disabling "Protected Mode" solved the problem.

    Note that this problem does not happen when both sites are in the internet zone even when "Protected Mode" is enabled.

提交回复
热议问题