问题
I have a simple question - is there any way to read subdomain cookie on main domain by JavaScript? For example: I set cookie 'hello' with value '2' in subdomain yeah.something.com and after that I want to read it on something.com. I tried to find answer for that but I found only information how to set cookie on subdomain by creating it on domain.
来源:https://stackoverflow.com/questions/15903650/javascript-domain-read-cookie-from-subdomain