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
  • 800,325
  • 104
  • 1,079
  • 1,205
user2628187
  • 293
  • 4
  • 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
  • 61
  • 11