Configure remote session invalidation
We can configure the consumer to invalidate the remote session when a user explicitly logs out of the Consumer portal. If we enable remote session invalidation and a user logs out of the Consumer portal, the Consumer sends a releaseSessions WSRP request to all the Producers with which the user interacted. The Producers portals can then invalidate these sessions.
By default, remote session invalidation is disabled.
Before we enable remote session invalidation, carefully consider the performance impact:
- Remote session invalidation allows the Producer portal to invalidate unused sessions. This way, the Producer can free resources when the users log out.
- However, remote session invalidation creates extra WSRP communication during logout. There is at least one WSRP roundtrip to each Producer with which the user interacted. In some cases, the Consumer needs to send multiple releaseSessions requests to one Producer.
To configure remote session invalidation, set the following configuration property on the Consumer portal:
- wsrp.consumer.releaseSessions.enabled = (false|true)
- Enable or disable remote session invalidation. The default for this property is false. This default setting means that the Consumer does not invalidate remote sessions.
We set this property in the portal WP Configuration Service using the WAS console. For details about portal service configuration properties and how to set them, read Portal service configuration and Setting service configuration properties.
Parent topic: Customize the WSRP configuration of the Consumer portalRelated tasks:
Set service configuration propertiesRelated reference:
Portal service configuration