CookieHandler.Path Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the virtual path for cookies written by the handler.
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
Property Value
The virtual path. Defaults to the root of the ASP.NET application.
Exceptions
An attempt to set a null
or empty value occurs.
Remarks
This property corresponds to the HttpCookie.Path property.
The property can be initialized by specifying the path
attribute on the <cookieHandler> element in configuration.
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.