Maximum time for offline access on mobile devices
This setting is used on mobile devices to decide how long to cache secret server data on the device. Once the device is not in contact with the server for longer than the specified amount of time, the device will remove its cache of the stored secrets. The only way to view secrets on the device once the cache is cleared is to connect to the server again so that the secrets can be re-downloaded and cached. This setting is found in Secret Sever on Administration, Configuration page.
An example of cache window:
If Maximum Offline Time is set to 7 days, a iPhone user can cache Secrets. If the iPhone has connectivity every hour the iPhone is used it will check in with the server. Each time the iPhone checks in the 7 days window for cache is extended. So if the user uses the app once every 7 days, the app cache will remain. If the user does not have connectivity (such as in Airplane Mode) or does not turn on the app for longer than 7 days then the next time the app is used the cache will be cleared because the Maximum allowed time offline has been surpassed.
NOTE: Setting the Maximum Time Offline less then hour will prevent the iPhone from caching as the cache window is considered too small.
- Since caching all Secrets creates an audit record in the database for each Secret, it is recommended that the window not be set too short that users are constantly needing to cache all Secrets.