Languages

How to share cookie between subdomain and domain?

2 points
Asked by:
Blythe-F
650

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
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
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