ReportViewerWebPart.KeepSessionAlive Property


Updated: February 25, 2016

Gets or sets a value that indicates whether the ReportViewerWebPart should keep the user session from expiring.

Namespace:   Microsoft.ReportingServices.SharePoint.UI.WebParts
Assembly:  Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

public bool KeepSessionAlive { get; set; }

Property Value

Type: System.Boolean

true to keep the user session from expiring; otherwise, false. The default is true.

Setting this property to true causes the ReportViewer control to keep the ASP.NET session from expiring (if the session is enabled in your SharePoint application). Also, when the Report Viewer Web Part is in connected mode, it causes the ReportViewerWebPart to keep the session with the report server from expiring.

Return to top