Because of security reasons, by default cookies are accessible only on the same domain from which they were set.
For example, if you have set a cookie on domain example.com, you cannot get it on domain www.example.com.
So if you're planning to use subdomains (i.e. admin.example.com, profile.exampl...