HTTP cookies are small name–value pairs that allow Web applications to maintain state across separate HTTP requests. In this handout, we will examine cookie attributes such as Domain, Path, Secure, HttpOnly, Expires, Max-Age and SameSite, and understand how they determine when a cookie is stored and sent. We will also study session cookies, which are often used to maintain authenticated sessions, and SameSite cookies, which regulate whether cookies can accompany same-site or cross-site requests. Finally, we will analyse third-party cookies, their role in cross-site contexts and tracking, and the broader classification of cookies by lifetime, context of use and purpose.
Cookies
Key points
Do you want to help me write articles like this one?



No responses yet