In Memory Security Cache¶
Provides an in-memory cache for sessions.
Version¶
Available from version 1.5
Examples¶
1<cache type="inMemoryCache" duration="10" mode="sliding" />
Configuration Elements¶
Element | Description | Type | Required | Default | Version |
type | The type of security cache to use. | String - must be inMemoryCache | Yes | n/a | 1.5 |
duration | The duration, in minutes, that a session is stored for. | Int32 | No | 10 | 1.5 |
mode | The type of expiration period to use. Options are either Sliding (the expiry time is moved every time a security request is made) or Fixed (expiry time never changes). | String - one of: * Fixed * Sliding |
No | Sliding | 1.5 |
Notes¶
This cache stores sessions in the current instance of CruiseControl.Net. When CruiseControl.Net is restarted the sessions will be lost.
warning
If you have Watch Config File = true (ccservice.exe.config: /configuration/appSettings/add\[key='WatchConfigFile'\] ), whenever a configuration change is detected, the service will be restarted and all sessions will be lost. If you want sessions to persist across service restarts, use File Based Security Cache.
Automatically Generated¶
Documentation generated on Monday, 26 May 2014 at 7:18:01 AM