在弹出的失去asp.net会话。只有在IE浏览器,只对某些用户

编程入门 行业动态 更新时间:2024-10-28 16:21:19
本文介绍了在弹出的失去asp会话。只有在IE浏览器,只对某些用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个集成的iframe一个asp网页。从这个IFRAME我叫内对window.open打开一个弹出窗口。弹出窗口的URL是绝对的,但在同一个域中。

I have an asp web page with an integrated iframe. From within this iframe i call window.open to open a popup window. The popup url is absolute but within the same domain.

有关使用Internet Explorer(多个版本)的用户大约1%的asp会话对象在弹出窗口中丢失(空)。

For approximately 1% of users using Internet Explorer (multiple versions) the asp session object is lost (null) in the popup window.

我曾尝试收集设置信息,从一组用户,但没有结果确定的模式。一种理论是,他们都Citrix客户端,但事实并非如此。

I have tried gathering setup information to identify a pattern from a group of users but with no result. A theory was that they were all Citrix clients but that was not the case.

有没有人遇到过类似的事情,解决了吗?

Has anybody experienced something similar and solved it?

推荐答案

按照这里的准则: HTTP ://www.w3/P3P/details.html

您应该构建自己的P3P策略。

You should construct your own P3P policy.

举个例子,如果你添加到您的Global.asax中,它工作在IE8:

As an example, if you add this to your Global.asax, it works in IE8:

protected void Application_BeginRequest(object sender, EventArgs e) { HttpContext.Current.Response.AddHeader("p3p", "CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\""); }

BUT !!! 不只是复制上面的示例作为政策必须反映在您的网站实际的个人信息保护。否则,当浏览器相比,你已经表示什么验证内容/行为,这可能有后来的影响。

BUT!!! don't just copy the above sample as the policy has to reflect your actual privacypolicy on your website. Otherwise this might have implications later when browsers validate your content/behaviour compared to what you have stated.

没有人想获得某些浏览器厂商列入黑名单,对吧?

No one would like to get blacklisted from certain browser vendors, right?

更多推荐

在弹出的失去asp.net会话。只有在IE浏览器,只对某些用户

本文发布于:2023-06-03 05:59:29,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/470178.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:只对   浏览器   用户   在弹出   net

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!