Sessions Sharing between two web applications : tomcat
Hello friends! I am working on a project where I am suppose to share sessions between two applications in different context, both are deployed on Tomcat, I did context sharing (session sharing on开发者_JAVA技巧 single instance of tomcat) but we need to do this on multiple instances of tomcat, any help will be highly appreciated
Best Regards
I would recommend using something like Memcached, Terracotta, Redis, etc.
You can find documentation for Tomcat clustered sessions here.
精彩评论