spring-projects / spring-projects/spring-session
Is there a way to modify session data or to retrieve all sessions with FindByIndexNameSessionRepository?
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.9k
- Forks
- 1.2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 55
Description
Hi,
Currently I am working on a spring boot application with stomp websockets. I have a SessionSubscribeEvent implementation where I can get the session Id when the users subscribes to the websocket channel.
I need to update the user session and I know I can retrieve using FindByIndexNameSessionRepository, but is it possible to modify it? or do I have to create a custom SessionRepository?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the FindByIndexNameSessionRepository API and the SessionSubscribeEvent usage described in the issue, then trace how session data is persisted and retrieved. Done means establishing whether existing APIs support modifying a session and retrieving all sessions, or documenting the need and scope for a custom SessionRepository.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring, spring-boot
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100