Skip to content

Commit ad0df99

Browse files
authored
Update article.md
1 parent b975263 commit ad0df99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

6-data-storage/01-cookie/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Usually, we should set `path` to the root: `path=/` to make the cookie accessibl
9696

9797
A domain defines where the cookie is accessible. In practice though, there are limitations. We can't set any domain.
9898

99-
**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`.**
99+
**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`.**
100100

101101
It's a safety restriction, to allow us to store sensitive data in cookies that should be available only on one site.
102102

0 commit comments

Comments
 (0)