Cross domain cookie using CORS in Safari

后端 未结 3 1127
我在风中等你
我在风中等你 2021-02-19 11:28

I followed the example: http://arunranga.com/examples/access-control/credentialedRequest.html

from this page: http://arunranga.com/examples/access-control/

The e

3条回答
  •  囚心锁ツ
    2021-02-19 11:43

    Safari also blocks cookies from sites that haven't been visited directly. You can see in the security settings. It's default setting is Accept cookies: "Only from sites I visit".

    This will help get you started. Setting cross-domain cookies in Safari

    I have jsonp working in safari using methods in the above link. So assumed that the cookie would work in the CORS context, but at this stage it doesn't seem to be working. Also, changing the security setting seems to have no effect.

    Safari might demand a stricter set of headers to be returned?

提交回复
热议问题