Configuring Session Timeout in Apache Tomcat

Configuring Session Timeout in Apache Tomcat

The session timeout is the maximum length of time that Tomcat will retain the information pertaining to a user's session, in the absence of any user activity. This value is configurable per application as follows:

Open the web.xml file of your Web project. Add the following XML element:


The code above will set the session to time out in 30 minutes. Save changes.

Open and find webclient.entry.timeout.
Specify the name of the function that you want to display when the session is timed out.

    • Related Articles

    • WebClient Manual

      Here you can find the articles of the CM WebClient user manual, just click on the name and it will take you directly to the article. Introduction Installation Requirements Plex Model Configuration Overview of Workspace Setup Calling WebClient from an ...
    • How to Terminate a WebClient Session Via a Source Code

      Create a source code object called “CloseSession” and add this code: javax.servlet.http.HttpServletRequest req =  (javax.servlet.http.HttpServletRequest) getApp().getFromUserStorage("javax.servlet.http.HttpServletRequest" ); if (req != null) { ...
    • Overview of Workspace Setup

      After you have the software requirements installed, below are the steps that you have to perform to setup your workspace for CM WebClient from scratch. Each step will be discussed in details when you click on the link. Install WebClient Builder ...
    • Deploying a WebClient application as a WAR file

      You can deploy your WebClient application by exporting it to a WAR file and then publish it to a Tomcat server, to do this follow these steps: Installing the Tomcat server service a. Download the Tomcat service installer from the Tomcat official page ...
    • Crystal Reports

      This guild will show you how to set up and run your Crystal Reports in WebClient. Download article files here Plex Setup All the Plex objects that you will need are in the WebClient Components group model. "_CrystalReportsXI.UI.ViewCrystalReportFull" ...