Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

251
Views
Can not set a cookie from original domain to subdomain

I'm trying to set cookie from my original domain to sub domain. I found a similar question and tried this solution, note that I'm setting this cookie when I'm at page www.example.com:

document.cookie = "score=10;Domain=.example.com";

And I'm trying to access this cookie from x.example.com (There is no www in subdomain) But I can not access it from subdomain. Is www part causing the problem? How can I solve it?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!