护照饼干在隐身模式下不起作用

发布于 2025-01-26 01:24:39 字数 319 浏览 3 评论 0原文

我找不到有关此问题的任何线索,这让我想知道我是否从基本知识中出错。

我正在使用Mongo,Nodejs(带有护照)和React构建应用程序。

用户可以在普通的Windows浏览器中正确登录此应用程序。

会话cookie是用护照设置的,流动正在工作。

问题开始时,当我尝试通过Google Chrome(或任何其他浏览器)登录Incognito模式时。

在隐身模式下,cookie会话有任何问题吗? 我应该使用其他方法处理这种情况吗?

我认为这与我设置cookie会话的方式无关,但是如果有人需要它,我会粘贴它。

I can't find any clue about this problem, what make me wonder if I am wrong from basic knowledge.

I am building an application with mongo, nodejs (with passport), and react.

Users can log in into this application correctly in normal windows browsers.

Session cookie is set with passport, and the flow is working.

Problem starts, when I tried to log in through Incognito Mode from google chrome (or any other browser).

Is any problem about cookie session in Incognito Mode?
Should I use other method to go over this case?

I think it is not relevant any code of how I set cookie session, but if someone need it I will paste it.

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

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

发布评论

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