Change the Tomcat WebVoyage OPAC session timeout
- Product: Voyager
- Relevant for Installation Type: Multi-Tenant Direct, Dedicated-Direct, Local, TotalCare
How to change the Tomcat WebVoyage OPAC session timeout period?
The timeout is managed in two different files. The values set in these two files need to be coordinated:
In webvoyage.properties change the timeout.time value in this stanza to what you want your timeout in WebVoyage to be (in the following example it is 4 minutes):
# Timeout configuration.
# How many minutes before an idle WebVoyage session times out?
# Must be less than Tomcat's session timeout, defined in web.xml.
# How many minutes before timeout should the user be warned? Should be less than
the timeout.time value.
# Where do we go when a session times out?
Note that the timeout.time value set in webvoyage.properties needs to be less than the session-timeout value set in the web.xml file (in the following example it is 30 minutes):
<!-- ==================== Default Session Configuration ================= -->
<!-- You can set the default session timeout (in minutes) for all newly -->
<!-- created sessions by modifying the value below. -->
- Article last edited: 15-Oct-2020