且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在iframe中设置Cookie - 不同的域

更新时间:2021-12-20 17:41:36

由于您的内容正在从远程域加载到iframe,所以它被归类为第三方Cookie

Since your content is being loaded into an iframe from a remote domain, it is classed as a third-party cookie.

绝大多数第三方Cookie由广告客户提供(通常标记为跟踪Cookie 通过反恶意软件软件),许多人认为他们是侵犯隐私。因此,大多数浏览器都提供阻止第三方Cookie的功能,这可能是您遇到的问题的原因。

The vast majority of third-party cookies are provided by advertisers (these are usually marked as tracking cookies by anti-malware software) and many people consider them to be an invasion of privacy. Consequently, most browsers offer a facility to block third-party cookies, which is probably the cause of the issue you are encountering.