Skip to content

Commit 804b6b0

Browse files
authoredJan 24, 2022
fix formatting, change wording for clarity
1 parent bae0ef4 commit 804b6b0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -419,10 +419,10 @@ GDPR is not only about cookies, it's about other privacy-related issues too, but
419419

420420
## Summary
421421

422-
`document.cookie` provides access to cookies
423-
- write operations modify only cookies mentioned in it.
424-
- name/value must be encoded.
425-
- one cookie must not exceed 4KB, 20+ cookies per site (depends on the browser).
422+
`document.cookie` provides access to cookies.
423+
- Write operations modify only cookies mentioned in it.
424+
- Name/value must be encoded.
425+
- One cookie may not exceed 4KB in size. The number of cookies allowed on a domain is around 20+ (varies by browser).
426426

427427
Cookie options:
428428
- `path=/`, by default current path, makes the cookie visible only under that path.

0 commit comments

Comments
 (0)
Failed to load comments.