-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redirect to login page after session timeout #7981
Comments
Case 1. Theoretically you need to wait infinite amount of time to get session expired, due to status ping. Need better explanation. Case 2. Is less valuable as servers don't get restarted often in production often (currently) Either way fixing this bug would prevent us from correctly implementing #7924 and #7529 |
Not entirely correct, the session would time out if you are disconnected for a while. However, the idea behavior should be discussed |
@sgauruseu and I discussed it internally. The correct behavior may depend on an application: Anyway XP can do little to nothing how frontend should proceed connection or permission loss. So, we agreed that @sgauruseu will file issues for improvements for each application individually. |
Case 1
Set
session.timeout = 2
incom.enonic.xp.web.jetty.cfg
then restart XPExpected: Redirect to login page after session timeout
Actual - New button is enabled, click on the button - wizard loads
Type a name - Save button is enabled.
Refresh the wizard in browser - Login Page loads
Case 2
The same issue after you stop the server then restart it again.
Actual - Browse panel (previous session) is available, click on New button - New Content dialog loads:
The text was updated successfully, but these errors were encountered: