Warning: Many web browsers have a session restore feature that will save all tabs and restore them the next time the browser is used. If unspecified, the cookie becomes a session cookie.Ī session finishes when the client shuts down, after which Indicates the maximum lifetime of the cookie as an HTTP-date timestamp. Multiple host/domain values are not allowed, but if a domain is specified, then subdomains are always included. If omitted, this attribute defaults to the host of the current document URL, not including subdomains.Ĭontrary to earlier specifications, leading dots in domain names (. Setting the domain will make the cookie available to it, as well as to all its subdomains. Only the current domain can be set as the value, or a domain of a higher order, unless it is a public suffix. Domain= Optionalĭefines the host to which the cookie will be sent. _Host- prefix: Cookies with names starting with _Host- must be set with the secure flag, must be from a secure page (HTTPS), must not have a domain specified (and therefore, are not sent to subdomains), and the path must be /. Must be set with the secure flag from a secure page (HTTPS). _Secure- prefix: Cookies with names starting with _Secure- (dash is part of the prefix)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |