0

we have a domain that ends in a .edu extension, that sets a cookie. However at some point, the site hands off to a subdomain with a .com extension that will need to read the cookie..

Example:

  • User visits mysite.edu sets a cookie
  • User clicks a link to take them to subdomain.mysite.com

Will I be able to read the mysite.edu cookie from subdomain.mysite.com?

ewitkows
  • 3,363
  • 3
  • 37
  • 60

1 Answers1

0

Will I be able to read the mysite.edu cookie from subdomain.mysite.com?

No

Those are different top-level domains, which is just like asking if a cookie can be read from a different domain (i.e. http://example.com/ and http://google.com/).

Community
  • 1
  • 1
zzzzBov
  • 167,057
  • 51
  • 314
  • 358