The timeout page

A timeout.jsp file is copied into the WebContent folder in your Web project the first time you run the Web Interaction wizard.

The timeout.jsp file is used to indicate that the browser session for the Web application has timed out due to lack of activity, and that you need to restart the Web application if you want to continue. This page appears when you try to use the Web application after the session has timed out. You can modify the contents of this file so that the message is more pertinent to your Web application.

The default session time out value is 30 minutes. You can change this default by editing the Web Deployment Descriptor file in your Web project, and typing a new value in the Session time out field that appears on the Overview tab for the file. After saving the settings, restart the server if you are running the Web application in the test environment.

You can also specify which program or service program on the iSeries host should handle a session timeout. Use the Session timeout procedure area of the iSeries Web Tools Run-time Configuration wizard to specify which iSeries program or service program should be used to perform any cleanup, such as closing files, when a session times out.

Note that when a session timeout occurs, the CLUP procedure, which performs clean up operations for subfiles, is not called. You need to define a timeout procedure to perform subfile clean up for this situation.