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
  • 857,932
  • 118
  • 1,152
  • 1,264
user2628187
  • 313
  • 5
  • 17

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
  • 131
  • 1
  • 12