How can I do relational database-based HTTP Session Persistence in Spring 4?

前端 未结 3 2089
我在风中等你
我在风中等你 2020-12-14 12:42

I need to be able to store the HTTP Session in a relational database in order to do stateless load balancing of my front-end users across multiple front-end servers. How can

3条回答
  •  情书的邮戳
    2020-12-14 13:12

    Just slap Spring Session on it, and you're done. Adding a Redis client bean and annotating a configuration class with @EnableRedisHttpSession is all you need.

提交回复
热议问题