dotnet / dotnet/aspnetcore

Extend ISessionStore to enable fetching a list of all sessions

Open
#54,331 0 comments 0 reactions 0 assignees View on GitHub
area-middleware
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

I want to be able to offer an api to obtain a list of all sessions as it is done in spring boot

### Describe the solution you'd like

It should be possible to fetch a list of all sessions that have been created in the system. This list needs to be distributed across instances if distributed cache is being used.

I am thinking that we almost need a dedicated session to track the sessions with the keys associated with that session being for each session. This approach would then enable us to fetch the session's using the createsession method and then via the keys get a list of all other sessions.

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.