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

Consider adding support for flush mode #44

Open
vpavic opened this issue Sep 27, 2019 · 1 comment
Open

Consider adding support for flush mode #44

vpavic opened this issue Sep 27, 2019 · 1 comment

Comments

@vpavic
Copy link

vpavic commented Sep 27, 2019

Immediate FlushMode can be used as a strategy for dealing with race conditions, by writing changes to data store as they happen, vs traditionally on invocation of #save on session repository.

Note that this is an option only for Servlet-based implementations, as org.springframework.session.Session#setAttribute returns void (and not Mono<Void>).

All SessionRepository implementations in Spring Session core modules support this and could be used for inspiration.

@jxblum jxblum self-assigned this Sep 28, 2019
@jxblum
Copy link
Contributor

jxblum commented Sep 28, 2019

This is exactly what I mean by "Attached Sessions" in Issue #13.

@jxblum jxblum removed their assignment Sep 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants