Merge pull request #2838 from robertmcabee/master
fix formatting, change wording for clarity
This commit is contained in:
commit
31d2b3399f
1 changed files with 4 additions and 4 deletions
|
@ -419,10 +419,10 @@ GDPR is not only about cookies, it's about other privacy-related issues too, but
|
||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
`document.cookie` provides access to cookies
|
`document.cookie` provides access to cookies.
|
||||||
- write operations modify only cookies mentioned in it.
|
- Write operations modify only cookies mentioned in it.
|
||||||
- name/value must be encoded.
|
- Name/value must be encoded.
|
||||||
- one cookie must not exceed 4KB, 20+ cookies per site (depends on the browser).
|
- One cookie may not exceed 4KB in size. The number of cookies allowed on a domain is around 20+ (varies by browser).
|
||||||
|
|
||||||
Cookie options:
|
Cookie options:
|
||||||
- `path=/`, by default current path, makes the cookie visible only under that path.
|
- `path=/`, by default current path, makes the cookie visible only under that path.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue