spring-projects / spring-projects/spring-session

Is there a way to modify session data or to retrieve all sessions with FindByIndexNameSessionRepository?

Open
#1,524 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: waiting-for-triage
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.