System.Web.Configuration.FormsAuthenticationConfiguration.Domain Property

Gets or sets the domain name to be sent with forms authentication cookies.

Syntax

[System.Configuration.ConfigurationProperty("domain", DefaultValue="")]
public string Domain { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The FormsAuthenticationConfiguration.Domain is used for the authentication cookies.

This property corresponds to the value of System.Web.HttpCookie.Domain.

This setting will take precedence over the domain attribute of the httpCookies section for forms authentication cookies.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0