cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Session Timeout for SCP application

ravindrapawar
Participant
0 Likes
3,747

Dear Experts,

My MTA application is deployed in Cloud Foundry in SCP. I have tried to set the session timeout in xs-app.json as given in the link: https://help.sap.com/viewer/4505d0bdaf4948449b7f7379d24d0f0d/2.0.03/en-US/5f77e58ec01b46f6b64ee1e2af...

But there it has clearly mentioned that, The sessionTimeout property is no longer available; to set the session time out value, use the environment variable<SESSION_TIMEOUT>.

So i tried to set the environment variable SESSION_TIMEOUT as given in the link: https://help.sap.com/viewer/4505d0bdaf4948449b7f7379d24d0f0d/2.0.03/en-US/0aac697f0cf7444193ed5eb0fc...

using command: cf set-env <myApp1> SESSION_TIMEOUT 40

But it is not triggering the central logout endpoint configured in xs-app.json. My client initiated central logout is working as expected. I have configured xs-app.json as per the given link: https://github.com/bizhuka/tsbCalc#session-timeout

But it is not triggering the session timeout. Please help.

Thanks

Ravindra

View Entire Topic
0 Likes

Hi all,


Try setting the SESSION_TIMEOUT variable in the manifest.yml file. In the env section.


- name: node-hello-world

  memory: 100M
  path: web
  env:
    SESSION_TIMEOUT: 40

for complete xs app json reference can be found here https://github.com/bizhuka/tsbCalc