From ad0df9950eec1ce638416e11f58f1585e41e4e74 Mon Sep 17 00:00:00 2001 From: joaquinelio Date: Fri, 24 Dec 2021 08:53:33 -0300 Subject: [PATCH] Update article.md --- 6-data-storage/01-cookie/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/6-data-storage/01-cookie/article.md b/6-data-storage/01-cookie/article.md index f7de5938..89a24d50 100644 --- a/6-data-storage/01-cookie/article.md +++ b/6-data-storage/01-cookie/article.md @@ -96,7 +96,7 @@ Usually, we should set `path` to the root: `path=/` to make the cookie accessibl A domain defines where the cookie is accessible. In practice though, there are limitations. We can't set any domain. -**There's no way to let a cookie be accessible from another domain, so `other.com` will never receive a cookie set at `site.com`.** +**There's no way to let a cookie be accessible from another 2nd-level domain, so `other.com` will never receive a cookie set at `site.com`.** It's a safety restriction, to allow us to store sensitive data in cookies that should be available only on one site.