在另一个域上重新创建 Cookie

发布于 2024-09-03 20:23:22 字数 222 浏览 2 评论 0原文

我在 A.com 上有一个网站,在 B.com 上有一个 iframe,它从 A.com 读取信息。我意识到第三方 cookie、iframe 和 P3P 存在一些问题 - 特别是在 Safari 中 [我的问题]

是否可以使用 AJAX 或隐藏的 iFrame 将 cookie 信息从 A.com 传递到 B.com,这将然后在 B.com 的 iframe 上“重新创建”另一个具有相同信息的 cookie。

I have a site on A.com and an iframe on B.com which reads info from A.com. I realize that there is some problems with third party cookies, iframes and P3P - particularly in Safari [my problem]

Is it possible to instead, use AJAX or a hidden iFrame to pass the cookie information from A.com to B.com which will then "recreate" another cookie with the same information on the iframe in B.com.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文