Skip to content

distributed session management with spring session and redis in sprintboot application

Notifications You must be signed in to change notification settings

jiangyuhe123/distributed-session

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

distributed-session

This is a sample application for distributed http session that managed by redis by using spring session. Install redis with version above 2.8+ first.

To test the application, start the application twice with different port number.

Call http://localhost:8080/doLogin and then call http://localhost:8080/main, pay attention on the cookie session id. rerun above step in a different server like 8081, and also take a look at the session id.

They should use the same session id since it is now managed by redis and shared among services.

About

distributed session management with spring session and redis in sprintboot application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published