【问题标题】:ASP.NET Session does not timeout on using ReportViewer ControlASP.NET 会话在使用 ReportViewer 控件时不会超时
【发布时间】:2010-05-11 16:23:38
【问题描述】:

我们正在使用 ReportViewer 控件在我们的 ASP.NET 应用程序中显示 SSRS 报告。在我们使用 ReportViewer 控件的页面上,会话不会超时。原因是 ReportViewer 控件发出“setTimeOut”javascript 函数,该函数从 web.config 读取会话超时值,并在配置值前 1 分钟 ping 服务器并保持会话活动。例如,如果会话超时值为 5 分钟,则 ReportViewer 在第 4 分钟 ping 服务器。我们使用 fiddler 来验证这种行为。此外,如果我们从页面中删除 ReportViewer 控件,会话会按预期超时。

我们还尝试在示例应用程序中使用 ReportViewer 控件并观察到相同的行为。

有人遇到过这个问题吗?

问候,

苏拉布

【问题讨论】:

    标签: reporting-services reportviewer reportingservices-2005


    【解决方案1】:

    我在 2005 年遇到了同样的问题,在最新版本中,Microsoft 为 ReportViewer 控件添加了一个属性来关闭它。

    KeepSessionAlive="假"

    是升级选项吗?

    【讨论】:

    • 你能告诉我我会得到这个属性的版本吗?我们使用的是 SQL Server 2005 和 VS 2005。
    • VS2010 提供 ReportViewer 2010 控件。
    猜你喜欢
    • 2018-12-31
    • 2010-12-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-02-03
    相关资源
    最近更新 更多