Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Cookies Property

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:
© 2015 Microsoft