ASP.NET Session does not timeout on using ReportViewer Control.
Posted
by Saurabh
on Stack Overflow
See other posts from Stack Overflow
or by Saurabh
Published on 2010-05-11T16:23:38Z
Indexed on
2010/05/11
16:34 UTC
Read the original article
Hit count: 660
Hi,
We are using the ReportViewer control to display SSRS reports in our ASP.NET application. On pages where we use the ReportViewer control the session does not time out. The reason for this is the ReportViewer control emits a "setTimeOut" javascript function which reads the Session timeout value from the web.config and pings the server 1 minute before the configured value and keeps the session alive. For example, if the session timeout value is 5 minutes, the ReportViewer pings the server on the 4th minute. We used fidldler to verify this behavior. In addition, if we remove the ReportViewer control from the page, the sessions times out as expected.
We also tried using the ReportViewer control in a sample application and observed the same behaviour.
Has anyone faced this issue?
Regards,
Saurabh
© Stack Overflow or respective owner