1
0
This repository has been archived on 2025-03-31. You can view files and clone it, but cannot push or open issues or pull requests.
wiki.mbirth.de/know-how/development/_posts/2008-07-15-cookies.md

754 B

created language layout layout_old redirect_to tags title toc updated
2008-07-15 22:08:02 +0200 en redirect default https://blog.mbirth.de/archives/2008/07/15/domain-cookies.html
know-how
development
web
cookies
Domain-Cookies false 2008-07-15 22:08:02 +0200

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.