Caching of Audit Trail Information

The audit trail information is cached in the memory on the client side. This cached audit trail information is flushed to the database if any of the following occurs:

  • The agent switches from one session to another.
  • The agent closes a session.
  • The number of audit trail entries has exceeded a pre-configured threshold.
  • The ID is closed.

Depending on whether the NoCache option is set, the audit trail information can be cached or pushed to the database immediately. The NoCache option can be set only in the ID configuration file. If NoCache is not set in the configuration file, the default value, True (caching is enabled) is used.

To disable caching

  1. Open Visual Studio 2008 integrated development environment (IDE), and then open the solution file Microsoft.Ccf.Samples.Csr.AgentDesktop.sln. This solution file can be found in the following location: Microsoft CCF 2009\Reference Implementations\Microsoft.Ccf.Samples\Csr\AgentDesktop.

  2. In the AgentDesktop project, open the ID configuration file, app.config.

  3. Add an appsetting key-value pair with the key as AuditNoCache and the value as True or False. If this value is set to True, caching will be disabled and audit trail information will be pushed to the database immediately. For example:

  4. <add key="AuditNoCache" value="True"/>