A cookie is a small text file which is stored on a local computer by a webserver and which contains data about the user’s surfing habits (e.g. language settings or items in shopping cart). Cookies thus help to improve user experience, but may also track behavior and pass on information to third-party websites without the user’s consent. Session-relevant information is also often stored in cookies, which may be exploited by hackers in attacks like session hijacking.