SameSite cookie demo
Site A
Try out the demo
-
Navigate to
samesite-a.glitch.me in Chrome.
-
Open the Chrome DevTools
Application panel.
-
From the
Cookie pane,
you will see two cookies: one for the navigation, and one for the image from
samesite-b.glitch.me. The
image cookie is blocked because the default
SameSite
value
of Lax
only allows cross-site cookies to be set in response
to a navigation.
-
Navigate to
samesite-b.glitch.me. Again,
the image cookie is blocked.
-
Navigate back to
samesite-a.glitch.me. The two
navigation cookies are stored, but the image cookie is blocked again, and image cookies have
not been stored from previous page visits.