Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Session Management

Joget typically allows has 2 types of session timeouts. They are:-

  • Soft timeout
  • Hard session timeout

Soft Timeout

Joget's Session session manager implementations are set to a 30 minute session timeout after which the user will be logged out due to the inactivity. 

Go to System Settings>Directory Manager Settings>Configure Settings > Directory Manager Settings > Configure Plugin (Security Enhanced Directory Manager)

"Allow Session Timeout" is checked by default in the plugin. Un-check this setting to remove the default session timeout. 

To change the timeout period, open web.xml in apache-tomcat-6.0.18\conf\ directory and change the tome period in Session timeout tag

...

<session-timeout>30</session-timeout>

</session-config>

Using the default Directory Manager:
1. While the browser window is still open, the session will be kept alive regardless of the web.xml session-timeout setting. This is based on the assumption that the user is still doing long running work in the browser (e.g. building a form, etc), so the user isn't logged out unnecessarily.
2. If the browser window is not open, then the session will time out according to the session-timeout setting.

Using the Security Enhanced Directory Manager:
1. If the Allow Session Timeout (Inactivity Timeout) is unchecked, then the behavior is similar to the default Directory Manager
2. If the Allow Session Timeout (Inactivity Timeout) is checked, then the session will time out following the session-timeout setting regardless of whether the browser window is open or now.

Hard Session Timeout

Hard session Timeout makes a user log out irrelevant to the activity

...