在Safari中使用CORS的跨网域Cookie [英] Cross domain cookie using CORS in Safari

查看:262
本文介绍了在Safari中使用CORS的跨网域Cookie的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我按照示例: http://arunranga.com/examples/access-control/credentialedRequest.html

http://arunranga.com / examples / access-control /

示例在Firefox中工作,但不是Safari,任何人都试图实现CORS跨域cookie处理,在Safari中?

The example work in Firefox, but not Safari, anyone have tried in implementing CORS cross domain cookie handling, and being success in Safari?

感谢。

推荐答案

错误。我刚刚验证了在Safari中未设置跨网域Cookie。跨域cookie在Chrome中正常工作,因此这可能在WebKit中修复,最新版本尚未在Safari中使用。我还没有看到关于这个的Safari或WebKit错误报告。

This sounds like a Safari bug. I just verified that cross-domain cookies aren't being set in Safari. Cross-domain cookies are working in Chrome, so this may be fixed in WebKit and the latest hasn't made it to Safari yet. I haven't seen a Safari or WebKit bug report about this.

这篇关于在Safari中使用CORS的跨网域Cookie的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆