In this section we will present how to set the session timeout depending on the which Blueriq Runtime you are using. (Java or .NET version)
Java Runtime
In the Java Runtime the way of defining the session timeout differs between R10 and R9 or older versions.
For R9 or older versions, the value in minutes of the timeout is specified in the deployment descriptor (web.xml):
<web-app ...> <session-config> <session-timeout>20</session-timeout> </session-config> </web-app>
For R10 we benefit of various spring boot common properties that can be specified inside bootstrap.properties or it can be given as a VM argument.
server.session.timeout=1200 # Session timeout in seconds.
If you are upgrading from R9 to R10 pay attention to the session timeout measurement unit. If in R9 or older versions, the value is specified in minutes, in R10 the value is specified in seconds.
.NET Runtime
In the .NET Runtime there is no difference in in the way of specifying the session timeout between R10 and R9 or older versions.
The value in minutes is specified in Web.config under <system.web> tag:
<system.web> <sessionState timeout="20" /> </system.web>