Skip to content

keepAlive

Deva Kumar edited this page May 24, 2020 · 2 revisions

KEEPALIVE option

A session created with authorization_code will timeout after some time-period of user inactivity. You can extend the life of your session by calling this end-point in your javaScript code on some or all user activities(ex: on every mouse movement). The choice is yours.

{APPHOST}:{APPPORT}/(APPNAME}/keepAlive

Example:

http://localhost:8080/viyaapp/keepAlive

A note for users of @sassoftware/restaf

Set the KEEPALIVE option for the server as shown below. restaf will invoke the keepAlive end point everytime a REST API call is made to your VIYA Server. This all happens in parallel with the actual REST API call.

KEEPALIVE=YES
Clone this wiki locally