Topic Path: Symbol Reference > Classes > TIdNetscapeCookie Class > TIdNetscapeCookie Properties > Domain Property
TIdNetscapeCookie.Domain Property

Indicates the host system where a Cookie is valid.

property Domain: String;

Domain is a String property that represents the optional Cookie attribute that specifies the host system where the Cookie is valid. Domain can contain an explicit value, beginning with a '.', or the value of the host that receives the request. 

Domain is used in IsValidCookie to determine if a specific Cookie can be used for the server host in an HTTP request. 

Use Path to determine the subset of URLs where a Cookie is valid.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.