preserve-inactivity-timeout

Use the preserve-inactivity-timeout stanza entry to designate the resources that should not impact the inactivity timeout for the session.

 preserve-inactivity-timeout = uri

Description

In some circumstances, we might not want the requests for a particular resource to affect the inactivity timeout for a session. For example, we might want to preserve the inactivity timeout when a server is polled by an Ajax script running in the background of a client browser. This configuration entry can be used to designate the resources which, when accessed, should not impact the inactivity timeout for the session. A comparison will be performed against either the full HTTP request line or the decoded URI (controlled by the preserve-inactivity-timeout-match-uri configuration entry). If a match is found, the inactivity timeout for the session will not be affected by the request. Multiple patterns can be specified by including multiple configuration entries of the same name.

We also have the option of matching a request using a host header. This option is useful when we need to selectively enable this functionality for a particular virtual host junction. To selectively match an entry based on a particular host header, prepend the configuration entry with the string [<host>].

Options

Usage: Optional

Default:

Not applicable.

Example:

preserve-inactivity-timeout = /jct/robot/*
preserve-inactivity-timeout = [www.ibm.com]/robot/*

Parent topic: [session] stanza