Triggering a custom login response

The standard WebSEAL login forms contain a macro called OLDSESSION. The OLDSESSION macro can be blank by default, or have a value of 1. When WebSEAL receives a stale session cookie that does not map to any existing entry in the session cache, the OLDSESSION macro value is set to 1.

You can cause the appropriate WebSEAL login form, such as login.html, to do the following actions:
  • Read the value of the OLDSESSION macro.
  • Trigger a custom response to the user when the value of the macro equals 1.
The custom response informs the user that it is possible that their session was terminated because of inactivity.