WebBrowser 控制共享 cookie - 也许

发布于 2024-12-22 13:58:42 字数 223 浏览 1 评论 0原文

当 Internet Explorer 中加载弹出窗口时,通常会提示用户重新登录。用户登录后一切正常。 WebBrowser 控件显然设置了 cookie。我可以在 IECookiesView (程序)中看到它。需要注意的是,它们(Web 浏览器和 IE)似乎共享相同的 cookie...它似乎被 Internet Explorer 忽略,直到用户登录。

这可能吗?如何阻止用户重新登录?

When a popup is loaded in Internet Explorer the user is often prompted to re-login. Once the user has logged in everything works fine. The WebBrowser Control definitely appears to set a cookie. I can see it in IECookiesView (program). The caveat is that they both (the WebBrowser and IE) seem to share the same cookie... It just seems to be ignored by Internet Explorer until the user logs in.

Is this possible? How can I stop the user having to re-login?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

野侃 2024-12-29 13:58:42

通过将我的域添加为 Internet 选项中的“受信任的站点”解决了该问题

The problem was solved by including my domain as a "Trusted Site" in Internet Options

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文