Issue

In K2 smartforms 1.0.1 when different users open the same View or Form in a time frame of about 30 seconds, the first user’s details are used to create and cache the View or Form. Subsequent users see the cached version of the View or Form which may include the previous user’s specific information such as the User Name. These details are then only regenerated after expiry of the cache duration and the next user’s details are used.

Workaround

 The following can be applied to resolve this issue:

    1. Open the web.config files in the following locations:

      C:\Program Files (x86)\K2 blackpearl\K2 smartforms Runtime
      C:\Program Files (x86)\K2 blackpearl\K2 smartforms Designer

    2. Search for the outputCacheSettings 

      <?xml version="1.0" encoding="UTF-8"?>

      <configuration>

        <system.web>

          ...

          <caching>

            <outputCacheSettings>

              <outputCacheProfiles>

                <add name="RT profile" duration="30" varyByParam="*" enabled="true" location="ServerAndClient" />

              </outputCacheProfiles>

            </outputCacheSettings>

          </caching>

                      ...

        </system.web>

        ...

      </configuration>

    3. Change enabled to false as shown below:

      <?xml version="1.0" encoding="UTF-8"?>

      <configuration>

        <system.web>

          ...

          <caching>

            <outputCacheSettings>

              <outputCacheProfiles>

                <add name="RT profile" duration="30" varyByParam="*" enabled="false" location="ServerAndClient" />

              </outputCacheProfiles>

            </outputCacheSettings>

          </caching>

                      ...

        </system.web>

        ...

      </configuration>