An HTTP cookie (web cookie, browser cookie) is a small piece of data that a server sends to a user’s web browser. The browser may store the cookie and send it back to the same server with later requests. Typically, an HTTP cookie is used to tell if two requests come from the same browser—keeping a user logged in, for example. It remembers stateful information for the stateless HTTP protocol.

(MDN n.d.)

Types

References

MDN. n.d. “Using HTTP Cookies.” Accessed July 20, 2022. https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies.