Error: 'The User Has Already Reached The Maximum Allowed Number Of Sessions' After Clicking Disconnect To Logout P6 Professional Configured For Client Side Cache Using SSO
(Doc ID 2478824.1)
Last updated on MARCH 01, 2019
Applies to:Primavera P6 Enterprise Project Portfolio Management Cloud Service - Version 18.7 and later
Primavera P6 Enterprise Project Portfolio Management - Version 18.8 to 184.108.40.206 [Release 18.8]
Information in this document applies to any platform.
When attempting to click the disconnect button from the P6 Professional login page (after already having connected using Cloud Connect (client side cache enabled) with Single Sign On (SSO) setup for Cloud Connect), clicking disconnect launches a secondary window (this occurs because a "logout URL" is defined under the configuration in use for Cloud Connect) but loads a SAML Identify Provider (IdP) "signing in" window for a couple seconds then results in an Oracle Service Provider (SP) page to display with the following error:
The user has already reached the maximum allowed number of sessions. please close one of the sessions before trying to login again
Note: This error is indicative of multiple sessions being created under the Oracle SP until reaching the "Maximum number of sessions per user" threshold (by default, 8).
The issue can be reproduced at will with the following steps:
- Configure an SSO Logout URL under the P6 Professional Cloud Connect Configuration:
- Launch the Administration Application for P6
- Browse to $configuration > application
- Set a logout URL
- Save changes and restart Cloud Connect
- Launch P6 Professional login page
- Click an alias configured for:
- Client side cache
- Click Connect
- At the SSO window which launches, authenticate (if using a form based authentication)
- Note, P6 Professional login begins.
- Once P6 Professional is loaded, click File > Exit.
- Click Yes to confirm exit of P6 Professional
- Note, the cache service (Primavera.CacheService.exe) should remain running in background.
- Launch the P6 Professional login page
- Note, the cache service should indicate on page that it is already connected.
- Click Disconnect
This causes the user to be locked out of P6 Professional until the user's inactive sessions generated under the SP to terminate after exceeding the "Idle Timeout" threshold.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document