session timeout with synchronizing across tabs - giving 403 error

I have implemented session timeout with synchronizing across tabs, using the code mentioned in this link : How to auto-logoff the window for cases open in a new browser tab using Theme-Cosmos | Support Center

I trie dto encrypt url using the function entioned in this link : Revisions · This patterns gives tips on using SafeURL with encryption in Stream Rules . Also when you should use Thread vs Requestor. · GitHub

but it didnt work.

Info from closed support ticket:


Unfortunately, our Engineering team can’t address this issue as this is custom solution created by your team.

Scenario was created for Theme Cosmos version 3 but you are implementing it on version 4.

In this situation we propose requesting direct consulting assistance from Pega Consulting - please reach out to your Account Executive.