HttpCookie.Domain Property
.NET Framework (current version)
Gets or sets the domain to associate the cookie with.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System.StringThe name of the domain to associate the cookie with. The default value is the current domain.
Setting the Domain attribute limits transmission of the cookie to clients requesting a resource from that domain.
.NET Framework
Available since 1.1
Available since 1.1
Show: