編輯

共用方式為


UnvalidatedRequestValues.Cookies Property

Definition

Gets the collection of cookies that the client sent, without triggering ASP.NET request validation.

public:
 property System::Web::HttpCookieCollection ^ Cookies { System::Web::HttpCookieCollection ^ get(); };
public System.Web.HttpCookieCollection Cookies { get; }
member this.Cookies : System.Web.HttpCookieCollection
Public ReadOnly Property Cookies As HttpCookieCollection

Property Value

The cookies from the HTTP request.

Remarks

Important

If you use this property, you must manually check the data for potential cross-site scripting attacks.

Applies to