Skip to Content

SAP HANA XSA WebIDE 2.0 SPS03: SESSION TIMEOUT

Hi experts,

is there a way to get the value of the session_timeout (set by us) from the web-app (<myApp1-web>) at runtime?

xs set-env <myApp1-web> SESSION_TIMEOUT 2

env:

User-Provided:
  SESSION_TIMEOUT: 2

Thanks!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Aug 14 at 12:53 PM

    From the Web App? That logic would be running on the client side wouldn't have access to this kind of server side information. You would have to call a node.js or Java service to get this information from the server side.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 14 at 01:29 PM

    Which environment? What you have setup above would only be in the Environment of the App Router micro service. You wouldn't see it in any other Node.js modules unless you also set it there. The Env is specific to the module/micro-service. It isn't MTA wide.

    Add comment
    10|10000 characters needed characters exceeded