Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide hook in DefaultWebSessionManager to support creating custom WebSession implementation [SPR-15876] #20431

Closed
spring-projects-issues opened this issue Aug 18, 2017 · 1 comment
Assignees
Labels
in: web type: enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Aug 18, 2017

Rob Winch opened SPR-15876 and commented

It would be nice if DefaultWebSessionManager provided a hook for creating a new WebSession vs instantiating it directly. This is necessary in Spring Session because Spring Session repositories allow creating a custom implementation based on the session store type. This allows for optimizations on how/when the session is persisted. For example, the Redis implementation of Spring Session tracks the changes that have been made and only persists the changes.

Spring Session can still accomplish what it needs, but it must create its own WebSessionManager which requires a lot more work than just providing a WebSessionStore


Affects: 5.0 RC3

Issue Links:

Referenced from: pull request #1507

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Aug 24, 2017

Rob Winch commented

I have a Pull Request that addresses this. It is combined with efforts around #20430 #1507

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants