Changing session expiry
How to change session expiry
- Open the 'web.xml' file which is found in the 'config' folder of the Mingle installation directory.
-
Locate the servlet named 'clean_expired_sessions' which contains the following parameters:
<servlet-name>clean_expired_sessions</servlet-name> ... <init-param> <param-name>interval</param-name> <!-- 8 hours, our default session expires --> <param-value>28800</param-value> <init-param> ...The default session expiry is set to 8 hours which is shown in seconds: '28800'. After 8 hours all sessions will be expired and logged in users will be required to login again.
- You can change the interval to one that better suits your needs. For example, if you want to set the default session expiry to 4 hours, you can change '28800' to '14400'.