How to share cookie between subdomain and domain?

2 points
Asked by:

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:


I am using Tomcat 9 and Spring Boot 2.

Thanks for help!

0 answers
Hey 👋
Would you like to know what we do?
  • Dirask is a friendly IT community for learners, professionals and hobbyists to share their knowledge and help each other in extraordinary easy way.
  • We welcome everyone,
    no matter what the experience,
    no matter how basic the question is,
    this community will help you.