Safari isn't saving cookies, but Chrome is

后端 未结 2 780
面向向阳花
面向向阳花 2020-12-18 14:49

UPDATE: It\'s worth mentioning, my website is being loaded via an iframe.

Here\'s my cookieSession in my app.js:

app.use(cookieParser());

app.use(         


        
2条回答
  •  佛祖请我去吃肉
    2020-12-18 15:23

    If you page is loaded in an iframe, the end user may choose to block Third Party Cookies which would prevent your website from writing the cookie.

    See Safari Privacy Settings. for more info

    Did you try to see if the cookie worked when the page was visited directly instead of an iframe?

提交回复
热议问题