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

101
Views
Send cookie between same domains of second level

I have two urls: one.example.com and two.example.com

How to make fetch request from one.example.com to two.example.com which will send cookies also? Request looks like this:

fetch('two.example.com')
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

In order to share cookies between two subdomains, you just have to modify the domain of your cookie so it starts with a dot

Eg:

Cookie domain one.example.com will be readable only by one.example.com

Cookie domain .example.com will be readable by every sub domains of example.com

about 4 years ago · Juan Pablo Isaza Report
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!