在 Outlook 加载项中设置 cookie 和获取 cookie 不起作用

发布于 2025-01-21 03:37:30 字数 296 浏览 6 评论 0原文

在Outlook Web添加cookie不起作用,当我将cookie设置在Taskpane代码中时,它不是在cookie部分中设置的,但是LocalStorage

在我打开新模态时无需任何问题即可使用“ office.displacyasync”模态内的cookie,但关闭了

任务媒体内部清除的模态cookie设置了cookie不起作用,它不设置并获得返回null null

任何域问题?

关于此的任何想法,请分享我

注意:Outlook加载项 - React-Framework Outlook附加组件

In outlook web add-ins cookies not work , when i set the cookie inside the taskpane code , it is not set in cookies section but localStorage works without any issue

when I open new modal using "office.displacyAsync" from that taskpane able to set the cookie inside the modal but close that modal cookie cleared

Inside the taskpane set the cookie is not work , it is not set and get also return null

Any domain issue ?

Any thoughts about this please share me

Note : Outlook Add-ins - react-framework outlook add-ins

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文