简体   繁体   English

ASP.net SSRS ReportViewer会话超时KeepSessionAlive无法正常工作

[英]ASP.net SSRS ReportViewer session timeout KeepSessionAlive not working

I have this strange problem. 我有这个奇怪的问题。 We are using SSRS ReportViewer control hosted in ASP.net page. 我们正在使用ASP.net页中托管的SSRS ReportViewer控件。 ReportViewer control is rendering reports fine. ReportViewer控件可以很好地呈现报表。 But when user remains idle for some period, it throws "ASP.net session is expired" exception. 但是,当用户闲置一段时间后,它将引发“ ASP.net会话已过期”异常。

Although I am not able to track exactly when ASP.net session expires, I understand why it would throw this exception. 尽管我无法准确跟踪ASP.net会话何时过期,但我理解为什么它会引发此异常。 But I have already set KeepSessionAlive property of ReportViewer control to true. 但是我已经将ReportViewer控件的KeepSessionAlive属性设置为true。 Shouldn't this help the asp.net session to keep going infinitely? 这不应该帮助asp.net会话继续进行下去吗?

One more thing is - I used Fiddler and chrome dev tools to trace if ReportViewer control is pinging report server periodically to keep session alive. 还有一件事-我使用了Fiddler和chrome开发工具来跟踪ReportViewer控件是否定期对报表服务器执行ping操作,以使会话保持活动状态。 But I cannot see any such web requests being made by the ReportViewer Control. 但是我看不到ReportViewer控件正在发出任何此类Web请求。 What could the reason for this? 这可能是什么原因? How can I keep sessions alive and avoid this issue? 如何使会话保持活动状态并避免此问题?

Thank you. 谢谢。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM