Setting the logout time and timeout time of an application


#1

Not to be confused with one another,

  • timeoutTime determines how long (in milliseconds) the application will wait for a network call before timing out.
  • logoutTime determines how long (in seconds) it takes before a user gets logged out of the application.

They can both be defined both in the application’s c3ui.json:

{
    ...
    "environments": [{
        ...
        "site": {
            ...
            "logoutTime": 3600
        },
        "connection": {
            ...
            "timeoutTime": 600000
        }
    }]
}