--- url: "https://web.dev/articles/samesite-cookie-recipes" titulek: "SameSite cookie recipes | Articles | web.dev" h1: "SameSite cookie recipes Stay organized with collections Save and categorize content based on your preferences." popis: "Sites can now explicitly mark their cookies for cross-site usage. Learn how to mark up your cookies to ensure that your first-party and third-party cookies continue to work after this change is implemented." jazyk: "en" kanonicka: "https://web.dev/articles/samesite-cookie-recipes" drobecky: ["Articles", "SameSite cookie recipes"] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-14 00:03:15" znaku: 9789 slov: 1370 kodovani: "iso-8859-2" sha256: "4716467cfb9dcad152c1d87a3e5e67bd4ccaaf48c1430ad3c08942f25bb621c8" --- SameSite cookie recipes Stay organized with collections Save and categorize content based on your preferences. Rowan Merewood [Chrome](https://www.chromium.org/updates/same-site), [Firefox](https://groups.google.com/d/msg/mozilla.dev.platform/nx2uP0CzA9k/BNVPWDHsAQAJ), [Edge](https://groups.google.com/a/chromium.org/d/msg/blink-dev/AknSSyQTGYs/8lMmI5DwEAAJ), and others are changing their default behavior in line with the IETF proposal, [Incrementally Better Cookies](https://tools.ietf.org/html/draft-west-cookie-incrementalism-00) so that: Cookies without a `SameSite` attribute are treated as `SameSite=Lax`, meaning the default behavior is to restrict cookies to first party contexts **only**. Cookies for cross-site usage **must** specify `SameSite=None; Secure` to enable inclusion in third party context. If you haven't already done so, you should update the attributes for your third-party cookies so they won't be blocked in the future. Browser Support 51 16 60 13 Use cases for cross-site or third-party cookies There are a number of common use cases and patterns where cookies need to be sent in a third-party context. If you provide or depend on one of these use cases, make sure that either you or the provider are updating their cookies to keep the service functioning correctly. Content within an `