You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 6-data-storage/01-cookie/article.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -243,7 +243,7 @@ A `samesite=lax` cookie is sent if both of these conditions are true:
243
243
244
244
So, what `samesite=lax` does is basically allows a most common "go to URL" operation to have cookies. E.g. opening a website link from notes satisfies these conditions.
245
245
246
-
But anything more complicated, like a network request from another site or a form submittion loses cookies.
246
+
But anything more complicated, like a network request from another site or a form submission loses cookies.
247
247
248
248
If that's fine for you, then adding `samesite=lax` will probably not break the user experience and add protection.
0 commit comments