iFrames and Cookies

前端 未结 1 1351
北海茫月
北海茫月 2021-01-27 15:51

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 Safa

1条回答
  •  别那么骄傲
    2021-01-27 16:36

    I'm afraid you're out of luck. In Safari and IE8, it's impossible to set a cookie in a domain which is not the primary document's domain.

    So, in other words, you can only set cookies for a domain which is visible in the address bar. There are no tricks to get around this problem.

    0 讨论(0)
提交回复
热议问题