0

I have a website, www.example.com, and would like to use a few cookies from this on another sub-domain: www.abc.example.com.

Can JavaScript read a cookie from a different subdomain? Meaning, if my html page is running on www.example.com, can I get the cookies from this page to be used in www.abc.example.com?

Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335
user2628187
  • 313
  • 6
  • 18

1 Answers1

0

You would be able to get these details from a simple search I believe. Anyway check this link and see you got what you need.

Share cookie between subdomain and domain

Community
  • 1
  • 1
Rajeev
  • 339
  • 2
  • 12