I would like to create website, which can behave differently based on subdomains.
If I set a certain cookie on subdomain A, can I read/access it on subdomain C?
Or the cookie binds to the subdomain?
I suggest you read this question post, in summary it says that what’s important is the domain parameter you define to set the cookie. What your looking for is something like this ".mydomain.com".