Web UI Timeout? #2180
-
Is it just me or has there been some kind of timeout added to the WebUI? Ever since upgrading to 0.94.0, I have noticed that if a WebUI Windows sits open and inactive for a long time, and then I go back to that tab, it looks just fine. That is until I go to interact with it. (Make a new note, do a search, edit the note on the current page, etc.. ) Then it will through some quick errors that pass by on the top of the screen. It does this until I refresh the browser, at which point it takes me all the way back to the login screen. I login again and it seems fine and happy again. Anyone else noticing this behavior since moving to 0.94.0? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 19 replies
-
There was a significant change in session management in 0.94.0: sessions are now stored in the database instead of as files, which improves reliability, especially on Windows. However, the core logic for session expiration and timeouts (like the session duration and protected session timeouts) remains the same and is controlled by configuration settings such as To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
Ah ok. That makes sense. The only odd thing in my case is that I haven't had any sessions open for 21 days. In fact 0.94.0 has not even been out that long. This seems like it has been closer to the 24 hours mark (although I have not clocked it). Where would I check/set the cookieMaxAge? |
Beta Was this translation helpful? Give feedback.
-
Im running the docker image for the server. Ill have to dig in and see if I can find and pull those out. It makes me wonder though if what I am really running into is old 0.93.0 cookie sessions that are suddenly expiring in my browser after playing catch up with the new version changes. I say that because I have been running Trilium(Next) for quite a while without these issues. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
See https://github.com/TriliumNext/Notes/issues/2196.