We're using .NET Framework 4.8 on a server in a web farm setup.
Does your server provide sticky session? Please note that the ReportViewer uses the ASP.NET Session. Since your Session is InProc, web farm will have to provide sticky session.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm using the following setup to load SSRS reports with the <rsweb:ReportViewer>
control in an ASP.NET web application:
<rsweb:ReportViewer
id="RptViewer"
runat="server"
width="100%"
skinid="rv"
ProcessingMode="Remote"
ZoomMode="FullPage">
</rsweb:ReportViewer>
My web.config
session settings are configured like this:
<system.web>
<sessionState cookieless="UseCookies" mode="InProc" timeout="20" cookieSameSite="None" />
</system.web>
We're using .NET Framework 4.8 on a server in a web farm setup. When loading the ReportViewer via an iframe, we're encountering ASP.NET session timeout errors.
Could this issue be related to the ReportViewer's support for iframes? Do we need a custom HTTP handler to maintain the session across the iframe?
If anyone has faced a similar issue, your guidance would be greatly appreciated.
We're using .NET Framework 4.8 on a server in a web farm setup.
Does your server provide sticky session? Please note that the ReportViewer uses the ASP.NET Session. Since your Session is InProc, web farm will have to provide sticky session.
Hi @Shende1, Pankaj,
If you're only having this issue in an iframe, you could try putting this in your web.config.
<sessionState cookieSameSite="None" />
<httpCookies requireSSL="true"/>
Best regards,
Lan Huang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread