Skip to content

anyeway/spring-session-sample

Repository files navigation

Spring Session

Spring Session aims to provide a common infrastructure for managing sessions. This provides many benefits including:

  • Accessing a session from any environment (i.e. web, messaging infrastructure, etc)

  • In a web environment

    • Support for clustering in a vendor neutral way

    • Pluggable strategy for determining the session id

    • Easily keep the HttpSession alive when a WebSocket is active

Spring Session Project Site

You can find the documentation, issue management, support, samples, and guides for using Spring Session at http://projects.spring.io/spring-session/

License

Spring Session is Open Source software released under the Apache 2.0 license.

注意

  • 配置redis连接修改,有在@Bean中声明的,有在xml中声明的

  • 注意h2嵌入式数据库,要用bootRun才能跑,用tomcatRun不能跑。

About

spring session sample自己学习修改其中的配置

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages