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

Session Timeout for SCP application

ravindrapawar
Participant
0 Likes
3,743

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

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Likes

Hi Guys ,

I am also facing same issue. Were you guys able to find some solution to this issue ?

Thanks,

Manu

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

Former Member
0 Likes

Hi,

When you are using "cf set-env APP_NAME" command you are changing the app configurations, for these configurations to take palce you need to restart the application by executing "cf restart APP_NAME"

ravindrapawar
Participant
0 Likes

Thanks Leon,

Thanks for reply.

I did execute 'cf restage APP_NAME' followed by 'cf restart APP_NAME' after 'cf set-env APP_NAME'. But still no luck.

siddharth_jain
Active Contributor

we are also facing the same issue ,how to acheive this?