Share via


CookieHandler.Path 속성

정의

처리기에서 작성한 쿠키의 가상 경로를 가져오거나 설정합니다.

public:
 virtual property System::String ^ Path { System::String ^ get(); void set(System::String ^ value); };
public virtual string Path { get; set; }
member this.Path : string with get, set
Public Overridable Property Path As String

속성 값

가상 경로입니다. ASP.NET 애플리케이션의 루트로 기본 설정됩니다.

예외

null 또는 빈 값을 설정하려는 시도가 발생합니다.

설명

이 속성에 해당 하는 HttpCookie.Path 속성입니다.

구성에서 cookieHandler> 요소에< 특성을 지정하여 path 속성을 초기화할 수 있습니다.

적용 대상