Skip to content

How to override UUID session generation stategy #1497

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

Closed
vikas115m opened this issue Sep 2, 2019 · 2 comments
Closed

How to override UUID session generation stategy #1497

vikas115m opened this issue Sep 2, 2019 · 2 comments
Assignees
Labels
status: duplicate A duplicate of another issue

Comments

@vikas115m
Copy link

Hi Team,
We are using spring session along with redis (jedis) with spring mvc xml configuration for storing user sessions in redis.

We have more than 20 applications servers for now we are going with default spring session UUID strategy

Is there any chance of UUID /session mix up in case of heavy load?

Also please suggest me a way to override the MAPSESSION class to override the UUID and append some extra counters to make sure that SESSION id is always uniquer per user.
Note: As of now we are using spring session 1.3.5 released session id are always unique.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Sep 2, 2019
@vpavic vpavic self-assigned this Sep 2, 2019
@vpavic
Copy link
Contributor

vpavic commented Sep 2, 2019

Hi @vikas115m. UUIDs are unique for all practical purposes so you really shouldn't have any issue there.

Regarding custom session id strategy, we have #11 that's tracks that effort so I'm closing this one as duplicate.

@vpavic vpavic closed this as completed Sep 2, 2019
@vpavic vpavic added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels Sep 2, 2019
@vpavic
Copy link
Contributor

vpavic commented Sep 2, 2019

Duplicate of #11

@vpavic vpavic marked this as a duplicate of #11 Sep 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants