So far, we have been explaining how to enable Client
Application Services for live connection with the remote authentication and
role providers. In the last section of this article, we will show how to
configure an application to make use of offline mode which allows your
application to authenticate users by accessing a cache of the credentials
information stored locally on the application’s machine.
For the time being, you still need to do some configurations
on your application to make it work with a none-offline mode. To do so, access
the Advanced button located on the Services tab. Once the Advanced button is
clicked, a popup windows pops up as shown in Figure 3.
Figure 3: Advanced settings form
To disable offline mode, make sure to uncheck all the
checkboxes and to set the Role service cache timeout to 0, without this value
you will not be able to retrieve roles-related information for the user. In the
next article we will see how to enable offline mode for your application.