Safari domaina托管iframe在域中,链接回新标签中的domaina,没有发送cookie
我有一个网站“ Domaina”。用户登录并获取cookie。在该网站中,我正在使用“ domainb”的iframe中的日历。日历具有与目标_blank的链接,可以回到“ domaina”。
在除Safari以外的所有浏览器中,都可以正常工作。 在Safari中,新的选项卡打开了,但Safari没有设置cookie,以免登录用户。如果您单击URL并击中输入,请输入页面将重新加载并发送cookie。 如果您只是点击“刷新”,它不会发送cookie。
从此iframe加载链接时,如何让Safari发送cookie?
I have a website 'domainA'. User logs in and gets cookie. In that website I'm using a calendar in an iframe from 'domainB'. The calendar has links with target _blank that refer back to 'domainA'.
In all browsers except Safari it works fine.
In Safari the new tab opens but Safari doesn't set the cookie so the user is not logged in. If you click into the url and hit enter the page will reload and send the cookie.
If you just hit 'refresh' it won't send the cookie.
How can I get safari to send the cookie when loading the link from this iframe?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论