Question: Why relogin after browser close?
Question
Why do I need to login again after closing the browser?
Semaphore UI v2.9.112 (Docker)
Related to
No response
As I understand it, when logging in, the server sets cookies without specifying the expiration date (Expires).
The browser set cookie as session cookie.
And session cookies are deleted when the browser is closed. Therefore, you just need to add expiration dates to the cookies.
Hi @rioradio yes, you are right. What the right session life expectancy? @tboerger what do you think?
Hi @fiftin I think the best thing is to allow this value to be configured through the config. For myself, I would use a cookie expiration time of 1 year
I don't have strong feelings about that. For me it's fine to kill the session if the browser is closed.
Adding an option for that which will give an empty value like now and can be set to anything sounds reasonable.