-
Notifications
You must be signed in to change notification settings - Fork 2
keepAlive
Deva Kumar edited this page May 24, 2020
·
2 revisions
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
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