Export (0) Print
Expand All

ServerReport.Cookies Property

Gets a collection of Cookie objects. The ServerReport object uses the cookies in this collection when making server requests.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

[BrowsableAttribute(false)] 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] 
public ReportViewerCookieCollection Cookies { get; }
/** @property */
public ReportViewerCookieCollection get_Cookies ()

public function get Cookies () : ReportViewerCookieCollection

Property Value

A ReportViewerCookieCollection object that contains a collection of Cookie objects.

To use custom authentication cookies in server requests, add the custom authentication cookies to this collection property.

Unlike the behavior of HttpWebRequest, the ServerReport object does not update this collection with the cookies return by the server.

Show:
© 2014 Microsoft