Sessions Handling #231
-
Hello, I've been working on Theiacloud and I found a behavior that I want to change, after login and having a Session with a Workspace, if I just closed my browser and try to get me to my session it says I have reached the limit of my sessions and I would have to wait until the timeout time is completed or kill the session using admin. I would like to kill the session after closing the browser, so I can just login again and get another one, is there any parameter I can use in order to have this behavior? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi, Regarding stopping the session on browser close. We don't have this exact functionality, but we have a monitor functionality, that checks whether the user is still active. If not the user will be warned via a popup, that the sessions is stopped soon. If there is still no reaction the sessions will be stopped. Regarding going to the launching page again with an existing session: |
Beta Was this translation helpful? Give feedback.
Theia Cloud has three custom resources
AppDefinition - describes the app itself
Workspace - describes persistent storage
Sessions - brings together user, app definition, and workspace
When you disable ephemeral storage, then you should see that a workspace resource is created (
kubectl -n yournamespace get workspaces
). This will trigger the creation of a persistent volume and persistent volume claim. The storage will be mounted at the path specified in the app definition'smountPath
property. The stored data is kept as long as the workspace custom resource lives and can be mounted again, by specifying the same workspace again in a session.At the moment we have two implementations for crea…