Cookie blocked/not saved in IFRAME in Internet Explorer

前端 未结 22 2599
死守一世寂寞
死守一世寂寞 2020-11-22 00:53

I have two websites, let\'s say they\'re example.com and anotherexample.net. On anotherexample.net/page.html, I have an IFRAME S

22条回答
  •  我寻月下人不归
    2020-11-22 01:09

    If you own the domain that needs to be embedded, then you could, before calling the page that includes the IFrame, redirect to that domain, which will create the cookie and redirect back, as explained here: http://www.mendoweb.be/blog/internet-explorer-safari-third-party-cookie-problem/

    This will work for Internet Explorer but for Safari as well (because Safari also blocks the third-party cookies).

提交回复
热议问题