RAD Studio VCL Reference
TWebRequest.CookieFields Property

Represents the parsed contents of the Cookie header of an HTTP request message.

property CookieFields: TStrings;
__property TStrings CookieFields;

Use CookieFields to work with individual "cookie" strings provided by the Web client request. The Cookie property is parsed into separate fields by separating into substrings whenever a semicolon is encountered. 

Cookie strings are used to track state information in a Web application. Each field appears as a separate string in the CookieFields list with the form Name=Value. As a TStrings object, CookieFields allows applications to manipulate the individual fields by name or value.

Note: Applications can give state variables any name except one of the reserved cookie field names. See the Netscape documentation for a list of reserved cookie field names and their meanings.


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!