Versions Compared

Key

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

...

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

Table of Contents

...

minLevel2

Soft Timeout


English

Joget's session manager implementations

...

set

...

a default 30 minute session timeout after which the user will be logged out due to the inactivity. 

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

...

.


Image RemovedImage Added

To change the soft timeout period, open web.xml in apache in apache-tomcat-6x.0x.18xx\conf\ directory and change the tome time period in Session session-timeout tag.

Code Block
<session-config>

...



<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 timeout 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 timeout following the session-timeout setting regardless of whether the browser window is open or not.

Hard Session Timeout

Hard session Timeout makes a user log out irrelevant to the activityIt is set to 8 hours in the plugin and can be changed.  timeout will force a user logout regardless of any user activity.

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

Image Added

You are able to change the Hard Session Timeout period to a predetermined amount of hours. In accordance with the current best practices, Joget does not offer the option to set the timer lower than 8 hours within the app. However, if you are insistent on customizing the value, you are able to do so by changing a couple values inside the database.

To customize the Hard Session Timeout period:

  1. Using a database manager, query as follows:
    1. SELECT * FROM wf_setup WHERE property="directoryManagerImplProperties";
  2. In the "value" column, copy and paste the data into any notepad program.
  3. Search for the string "hardSessionTimeoutHours":"8" and change the value to "hardSessionTimeoutHours":"1".
  4. Paste the data back into the table "value" column and save the record.

The idle session timeout setting is an Apache Tomcat feature, it is not a Joget feature. Kindly read here for more information on the idle session timeout setting in Apache Tomcat. From other users' experiences, some timeout issues may be caused by some web proxy software and were resolved after the client switched to Apache web proxy.