folks.
I am using spring boot framework with tomcat container, and because of several reasons for maintaining this service, I try to share session with redis. usually I used spring-session-data-redis which is recommanded by following the guide.
https://www.baeldung.com/spring-session
but, I have a question about session-sharing with redis by using spring-session-data-redis. If I need to set and use multiple server clusters to reduce traffic stress (with load balancer), should I set also tomcat configuration to use redis session? or is spring-session-data-redis enough to session-sharing for multiple server clusters?
if someone visited wrong sub-path in the specific domain (for example somewheredomain.com/not_spring_project/some_path), I guess the spring session is not working to share session. if this guy visited A-tomcat server with the correct path and went to another tomcat server with wrong-path, maybe another tomcat server which the someone visited first time can generate(or re-write) jsessionid.
is there anyone able to explain the best usuage session sharing for spring boot with external tomcat container?