CookieHandler.Path Propriedade

Definição

Obtém ou define o caminho virtual para cookies escritos pelo 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

Valor de Propriedade

O caminho virtual. Por defeito, é a raiz da aplicação ASP.NET.

Exceções

Ocorre uma tentativa de definir um null valor vazio.

Observações

Esta propriedade corresponde à propriedade HttpCookie.Path .

A propriedade pode ser inicializada especificando o path atributo no <elemento cookieHandler> em configuração.

Aplica-se a