CORS cookie with domain field is setting only in Firefox using jQuery AJAX

前端 未结 2 1716
既然无缘
既然无缘 2021-01-02 10:03

I am not able to set cookie when domain filed is added using cross site request. I am trying to achieve that by calling request through jquery ajax.

Is

2条回答
  •  南笙
    南笙 (楼主)
    2021-01-02 10:23

    I had this same problem, and it turned out that the browser settings were blocking third-party cookies (Chrome > Settings > Advanced Settings > Privacy > Content Settings > Block third-party cookies and site data). Allowing the cookies resolved the problem!

提交回复
热议问题