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

Expose a client's session ID #179

Closed
m-oben opened this issue Feb 28, 2022 · 0 comments · Fixed by #180
Closed

Expose a client's session ID #179

m-oben opened this issue Feb 28, 2022 · 0 comments · Fixed by #180

Comments

@m-oben
Copy link

m-oben commented Feb 28, 2022

Context

At server side, connecting clients are identified via their sessionId, provided by the server. This works fine.
At client side, there is no such ID available. It would be useful to identify clients in a similar way.

Solution

A client actually already owns such an ID in its Session. Therefore, we should simply expose it.
Moreover, similar to how the server behaves, said ID could be passed to any Profile's handleRequest method instead of null currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant