Internet Direct (Indy)
Home
PreviousUpNext
TIdNetscapeCookie.Domain Property

Indicates the host system where a Cookie is valid.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.