Dose anybody know how to set session timeout greater than 30 minutes? these two methods wont work (default to 30 min).
<session-config>
<session-timeout>60</session-timeout>
</session-config>
and
session.setMaxInactiveInterval(600);
Thanks.
To change the value, follow these steps: Select System administration > Setup > System parameters to open the System parameters page. On the General tab, in the Session management section, enter a value in the Session inactivity timeout in minutes field. Select Save.
In the Microsoft 365 admin center, select Org settings, go to the Security & Privacy tab and select Idle session timeout. In the dropdown menu, select a different timeout value and then Save. In the Microsoft 365 admin center, select Org settings, go to the Security & Privacy tab and select Idle session timeout.
You can set the value up to 60 minutes, however doing so might cause extra load on the system. This feature is available as of Platform update 29. If you previously set a session inactivity timeout in the web.config ( WebClientStatefulSessionTimeoutInSeconds key) through a support request, then that old value will still be honored.
The session idle timeout setting represents the amount of time a user can be inactive before the user's session times out and closes. It only affects user browser sessions. You can set the values from 5 minutes to 60 minutes. This function has a default value of 30 minutes.
If you want to never expire a session use 0
or negative value -1
.
<session-config>
<session-timeout>0</session-timeout>
</session-config>
or mention 1440
it indicates 1440 minutes
[24hours * 60 minutes
]
<session-config>
<session-timeout>1440</session-timeout><!-- 24hours -->
</session-config>
Session will be expire after 24hours
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With