Skip to content

Session scope #241

Answered by Tishka17
dineshbvadhia asked this question in Q&A
Sep 10, 2024 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

Ok, it sounds a bit away from problems which are solved by dishka.

In dishka Scope.SESSION is something which exists in your app while other requests are running. It is ok for websocket connections or something like that.
In regular web apps HTTP-Session is data which is shared among requests. You can have multiple application instances, they cvan be restarted. Session exists regardless on that.

So, I suppose you have to deal with this date in your application or presentation logic

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@dineshbvadhia
Comment options

@Tishka17
Comment options

@dineshbvadhia
Comment options

@Tishka17
Comment options

Answer selected by dineshbvadhia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants