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
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru