How to get the domain value for a cookie in Javascript?
- by Wabbitseason
Using Javascript I'd like to get the domain value for a specific cookie.
Is this possible? If so, how?
To clarify: I'm not looking for the value of the cookie. I'm on "subdomain.domain.com" and I need to remove a cookie whose name is known but its domain value is something like ".domain.com". In short: I'd like to get the value of ".domain.com".