Set the Web Portal user session cache refresh rate
- Last UpdatedOct 18, 2024
- 1 minute read
There are two configuration settings in the <appSettings> section of the MES Web Portal web.config file for setting the cache reset rate for an MES Web Portal user session:
-
LongLivedCacheExpirationMinutes. This setting is used for the license setting and for the security mode. The default is 60 minutes.
-
ShortLivedCacheExpirationSeconds. This setting is used for all other cached values, which include the user’s settings, privileges, entity access, and line access. The default is 2 seconds.
Entering a value of 0 turns off the cache completely for that cache setting.
If you change a cache refresh setting, you must restart the MES Web Portal web site in IIS for the change to take effect.