Web.HTTPApp.TWebRequest.CookieFields

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property CookieFields: TStrings read GetCookieFields;

C++

__property System::Classes::TStrings* CookieFields = {read=GetCookieFields};

Properties

Type Visibility Source Unit Parent
property public
Web.HTTPApp.pas
Web.HTTPApp.hpp
Web.HTTPApp TWebRequest

Description

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

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.

See Also