mirror of
https://github.com/mbirth/wiki.git
synced 2024-12-25 23:04:06 +00:00
665 B
665 B
title | language | layout | created | updated | toc | tags | ||||
---|---|---|---|---|---|---|---|---|---|---|
Domain-Cookies | en | default | 2008-07-15 22:08:02 +0200 | 2008-07-15 22:08:02 +0200 | false |
|
According to various documentation, the cookie domain has to contain at least 2 dots for a browser to accept this
as a wildcard cookie (e.g. .google.com
) and use this for all sub-domains. So .foo.bar.com
should work - should.
Opera doesn't like it and only accepts it domain-wide if there are exactly 2 dots in the domain name. In this case
.bar.com
. If you use .foo.bar.com
the string is ignored and the cookie only gets set for the current domain.