AI engineering glossary · Web APIs HTTP
What is cookie?
Cookie: A small piece of data a server asks the browser to store and send back with later requests to the same site. Cookies keep users logged in and remember settings. Flags such as HttpOnly, Secure and SameSite control how safe they are.
Cookie: an example
After login, Set-Cookie: session_id=abc; HttpOnly; Secure makes the browser send the id on every request.
Related terms
More Web APIs HTTP terms
Where you learn it
Cookie is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.