Click here to Skip to main content
15,891,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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 aiddition, 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
Posted

1 solution

If you google ReportViewer Session Timeout, there are others discussing the same issue.

There are suggested work arounds from MS etc on some of the threads, here is the first hit returned;
http://www.velocityreviews.com/forums/t586187-reportviewercontrol-session-timeout.html[^]
 
Share this answer
 
Comments
saurabhvaze04 11-May-10 0:17am    
In our case the session does not timeout. The ReportViewer control is keeping the ASP.NET session alive.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900