Languages

How to share cookie between subdomain and domain?

2 points
Asked by:
Kate_C
23510

I am buidling web page where I whould like to use language vesions. I got idea to create subdomains. When I go from domain to subdomain my user is not logged in there. I noticed that the session cookie differs.

I whould like to share session cookie between:

  • my-domain.com
  • en.my-domain.com
  • fr.my-domain.com

I am using Tomcat 9 and Spring Boot 2.

Thanks for help!

0 answers
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join