Cookies (cont’d)
A cookie
- persists for the duration of the browser session (but an expiration date may be given)
- is associated with the subtree of the document that created it (but a cookie path may be specified)
- is accessible to pages on the server that created it (but a cookie domain may be declared)