We use Spring Security to manage login sessions.
We are developing two websites, each using a different Redis server to save the session.
However, if you log in from website 1 and access website 2 with the same browser, the login to website 1 will be disconnected.
On the other hand, this doesn't happen when you connect to each other with a different type of browser.
To write the symptoms in order...
It's like this.
Each website uses a different Redis and shares login information (id, password queries are viewed in the same DB).
Two Redis are serving from one server to another port.
spring security session logout
I'll ask myself...
If there are multiple SESSIONs with the same JESSIONID in the same domain, this happens...
It works well because I access number 1 with IP and number 2 with domain name.
This is a reference site. I don't know if I can link like this http://egloos.zum.com/iris2380/v/350373
© 2024 OneMinuteCode. All rights reserved.