Icon TEWBHTTPCookies

Unit: ewbhttpcommon

Inherits From TObject

The TEWBHTTPCookies class is by the TEWBWebServerRequest class to represent the set of HTTP cookies included with an incoming web server request, as well as the HTTP cookies that are set in response to the web server request. When a request is sent to the web server, any included cookies will be available in the TEWBWebServerRequest RequestCookies property.

HTTP cookies are text items set by server applications and/or native server modules and returned to the browser, where they are cached according to the TEWBHTTPCookie Expires and MaxAge properties. In addition, the cookies are sent back to the same server applications and/or native server modules with any subsequent web server requests. Which cookies are sent with which server requests is controlled by the TEWBHTTPCookie Domain, Path, and Secure properties.

Image