ReportViewerWebPart.KeepSessionAlive Property

Definition

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

public:
 property bool KeepSessionAlive { bool get(); void set(bool value); };
[Microsoft.SharePoint.WebPartPages.WebPartStorage(Microsoft.SharePoint.WebPartPages.Storage.Shared)]
public bool KeepSessionAlive { get; set; }
[<Microsoft.SharePoint.WebPartPages.WebPartStorage(Microsoft.SharePoint.WebPartPages.Storage.Shared)>]
member this.KeepSessionAlive : bool with get, set
Public Property KeepSessionAlive As Boolean

Property Value

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

Attributes
Microsoft.SharePoint.WebPartPages.WebPartStorageAttribute

Remarks

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.

Applies to