다음을 통해 공유


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 속성을 초기화할 수 있습니다.

적용 대상