An HTTP cookie (web cookie, browser cookie) is a small piece of data that a server sends to the user's web browser, that may store it and send it back together with the next request to the same server. Next time the user visits the page, the cookie "remembers" his/her name. The browser usually stores the cookie and sends it with requests made to the same server inside a Cookie HTTP header. document.cookie="username=John Doe"; cookie UTC GMT . You can also set a negative value. bypassed using the DOM, for example by creating a hidden