当隐私设置为 'always allow session cookies' 未选中时,表单不会在 IE11 中提交,但在 IE10 和其他浏览器中有效
Form does not submit in IE11 when privacy is set to 'always allow session cookies' unchecked, but works in IE10 and others
场景:
我有两个 Web 应用程序 A 和 B。A 通过 iframe 将应用程序 B 集成到自身中。应用程序 A 对来自 B 的用户进行身份验证,并在会话变量中维护身份验证令牌。现在,当应用程序 B 在 A 上的 iframe 上呈现并出现登录页面时,我提交表单并重定向到登录,但会话变为空。请记住,应用程序 A 在重定向到登录页面之前创建了一个会话。
此问题仅在 IE11 的情况下出现,当我设置其 隐私设置 -> 始终允许会话 cookie 时,它才有效 ... 奇怪!不是吗
选中覆盖自动 cookie,然后在 IE11 中选中始终允许会话 cookie,它工作正常。然而,同样的事情在 IE10 中没有任何问题。关于 this.I 的任何帮助,我已经通过以下链接
研究了其他问题
IE11 does not send session cookie when a link targeting a new tab is clicked (on first request)
IE 11 first-party session cookies being lost in iframe
Does ie11 ignore cookies from site that uses the server's ip as domain?
IE11 does not send session cookie when a link targeting a new tab is clicked (on first request)
问题已解决。问题出在 IE11 隐私政策上,因为它正在破坏 iframe 的会话 cookie。正如我上面提到的,它通过调整其隐私设置来工作。
在 IIS 上为您的托管站点设置 P3P 策略,问题已解决,现在这将忽略 IE11 隐私策略
场景: 我有两个 Web 应用程序 A 和 B。A 通过 iframe 将应用程序 B 集成到自身中。应用程序 A 对来自 B 的用户进行身份验证,并在会话变量中维护身份验证令牌。现在,当应用程序 B 在 A 上的 iframe 上呈现并出现登录页面时,我提交表单并重定向到登录,但会话变为空。请记住,应用程序 A 在重定向到登录页面之前创建了一个会话。
此问题仅在 IE11 的情况下出现,当我设置其 隐私设置 -> 始终允许会话 cookie 时,它才有效 ... 奇怪!不是吗
选中覆盖自动 cookie,然后在 IE11 中选中始终允许会话 cookie,它工作正常。然而,同样的事情在 IE10 中没有任何问题。关于 this.I 的任何帮助,我已经通过以下链接
研究了其他问题IE11 does not send session cookie when a link targeting a new tab is clicked (on first request)
IE 11 first-party session cookies being lost in iframe
Does ie11 ignore cookies from site that uses the server's ip as domain?
IE11 does not send session cookie when a link targeting a new tab is clicked (on first request)
问题已解决。问题出在 IE11 隐私政策上,因为它正在破坏 iframe 的会话 cookie。正如我上面提到的,它通过调整其隐私设置来工作。 在 IIS 上为您的托管站点设置 P3P 策略,问题已解决,现在这将忽略 IE11 隐私策略