Reading Javascript Cookies from a subdomain

On a subdomain -- -- I'm trying to read the cookies set at If I use document.cookie in JS, all i'm getting are the cookies from What is the syntax or route to read the cookies from

I'm pretty certain you can read up -- from sub domain to fqdn -- but you can not read down -- fqdn to sub domain.




While setting the cookies at, make sure that you specify the cookie domain as "" "".

For example:



Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.