1

Session Lifetime

Тема: Session Lifetime

Are there any plans to allow developers to change session lifetime as a configuration option? 5 minutes is extremely low and forcing us to send a dummy request every 4.5 minutes isn't a great solution.

2

Session Lifetime

Re: Session Lifetime

If you are using sessing less often than once in 5 minutes, then just login by token each time.

Sessions supposed to be short-lived and potentially can use big amounts of memory (if you have executed big report/many loaded messages). If we will allow sessions to live indefinitely — it will have big area of misusing it and can cause issues to all users.

3

Session Lifetime

Re: Session Lifetime

I've got middleware right now to check for a valid session and log in each request, but it's adding ~1 second per request when I do that (granted that's locally, not on an AWS server which should run requests much faster). But if that's the only solution then I'll just live with that. Thanks.