The TCookies class encapsulates the cookie functionality in the web browser.
The component library includes a global instance variable of this class called Cookies in the WebComps unit that should be used instead of creating new instances of the class.
Do not attempt to store more than 4k of data in a single cookie (name and value combined). If you need to store more data than that, then you should use the Local Storage functionality instead.