ASP.NET Session Timeout Issue with ReportViewer in an iframe
Shende1, Pankaj
0
Reputation points
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.
Sign in to answer