Icon TCookies

Unit: WebComps

Inherits From TObject

Available In: Client Applications

The TCookies class encapsulates the cookie functionality in the web browser.

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

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


Image