CookieHandlerElement.Domain Property

Definition

Gets or sets the domain value for cookies written by the handler.

public:
 property System::String ^ Domain { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("domain", IsRequired=false)]
public string Domain { get; set; }
[<System.Configuration.ConfigurationProperty("domain", IsRequired=false)>]
member this.Domain : string with get, set
Public Property Domain As String

Property Value

The domain value. The default is an empty string.

Attributes

Remarks

Represents the domain attribute of the <cookieHandler> element.

Applies to

See also