Symptoms
Runtime site not displaying current version of checked in smartform. Affects all smartform Forms AND views on dev server.
Diagnoses
Regardless of which users logs in.
If User A opens a form in runtime, and then goes and edits the form. When he opens the form again. It still shows the old version of the form (pre edit)
User B now opens the form and sees the correct version of the form (initial load) when he goes and makes a change and views it again, then he sees the pre edited form as well.
Resolution
This issue was resolved by increasing the times to 23 hours.
The issue here is suspected to be the IIS cache that is not refreshing for the user. Hence when you clear the browser cache. It actually still calls IIS and brings up the old version of the form/view because IIS has cached it for that user.
Check your session timeout.
1. Go To C:Program Files (x86)K2 blackpearlWebServicesIdentityStsWindows
2. Open Web.config
3. You will see the following keys:
andltadd key="SessionTokenLifetime" value="28800" /andgt
andltadd key="MaximumTokenLifetime" value="28800" /andgt
4. The value is in Seconds. So 28800 is equivalent to 8 hours.
5. To extend the session lifetime, replace the values with a higher value.
6. After making the changes, save the config file and clear your browser's cache, and reload the designer for the new values to take effect.
Extend the lifespan of the sessions here.
But the most important thing to check here is the following article
http://help.k2.com/kb001409
The following can also help resolve the issue
In your internet explorer, Options, General, Browser History Settings, make sure the following is checked "Check for newer version of form every time I visit the webpage"