Iam developing a SAP CF app and wnated to capture session timeout and show pop-up to user before session timeout happs to either refresh the session or execute the logout ,but setting the env variable SESSION_TIMEOUT as given in the link is also not working neither central logout is triggered : https://help.sap.com/viewer/4505d0bdaf4948449b7f7379d24d0f0d/2.0.03/en-US/0aac697f0cf7444193ed5eb0fc6e5bd0.html#loio0aac697f0cf7444193ed5eb0fc6e5bd0__section_blz_hgn_mv
cf set-env SESSION_TIMEOUT 1
it is not triggering the central logout endpoint configured in xs-app.json. My client initiated central logout is working as expected.
please help with any suggestions and pointers ,my requirement is to capture central logout event on session expiry and show popup to user to either refresh the session or execute logout but this is not working in SAP Cloud foundry environment ,please help.
The documentation you linked to is for the HANA XS advanced model, which I think is different to the approuter used on Cloud Foundry. Therefore, I'd assume that the documentation won't help you much.
Adding an environment variable to your app alone won't do much either, I fear. Unless you tell your app to do something with that.
Bottom-line: I think you need to implement that functionality yourself.