Hello,
I'm seeking advice on handling view expiry when sending Post/Get Requests from multiple tabs.
For a unique version of SAML Authentication, we open a second tab to preserve the user's current activity.
In this second tab, multple Requests are sent (GET/POST) between our server and the IDP.
The last step in completing this handshake involves us recvieving a POST request from the IDP (HTTP Post Binding) at our endpoint.
However once we recieve this request, the user's original tab becomes inactive and reloading the page results in the following exception:
"""
View Expired
Dialog instance with id /ch.ivyteam.view.path_info/33811/ch.zh.gaz.fae.dossier.DossierDetails/DossierDetails.xhtml is not available any more
"""
This issue only happens when the system is deployed on the engine.
We have tried the following solutions, but these have not helped:
- Scope of ManagedBean increased from RequestScoped all the way to SessionScoped
- Increase NUMBER_OF_VIEWS_IN_SESSION
- Increase NUMBER_OF_SEQUENTIAL_VIEWS_IN_SESSION
- Set 'transient' property on <f:view>
Any advice would be appreciated.