aboutsummaryrefslogtreecommitdiff
path: root/ci/config/SessionProvider.json
diff options
context:
space:
mode:
Diffstat (limited to 'ci/config/SessionProvider.json')
-rw-r--r--ci/config/SessionProvider.json42
1 files changed, 42 insertions, 0 deletions
diff --git a/ci/config/SessionProvider.json b/ci/config/SessionProvider.json
new file mode 100644
index 0000000..1875e73
--- /dev/null
+++ b/ci/config/SessionProvider.json
@@ -0,0 +1,42 @@
+{
+
+ "debug": false,
+
+ //Provider assemblies to load
+ "provider_assemblies": [ "VNLib.Plugins.Sessions.VNCache.dll" ],
+
+ //Web session provider, valid format for VNCache and also memory sessions
+ "web": {
+ //Cache system key prefix
+ "cache_prefix": "websessions",
+ //The session cookie name
+ "cookie_name": "VNSession",
+ //Size in bytes for generated session ids
+ "cookie_size": 40,
+ //time (in seconds) a session is valid for
+ "valid_for_sec": 3600,
+ //The maxium number of connections waiting for the cache server responses
+ "max_waiting_connections": 100
+ },
+
+ //Enable vncache as the providers above rely on the object caching server
+ "vncache": {
+
+ //Max size (in bytes) of allowed data to be stored in each user's session object
+ "max_object_size": 8128,
+
+ //Initial nodes to discover from
+ "initial_nodes": [],
+
+ //Setting this value to true will cause the cache store to load a memory-only instance, without remote backing
+ "memory_only": true,
+
+ //enable memory cache
+ "memory_cache": {
+ "buckets": 20,
+ "bucket_size": 5000,
+ "max_age_sec": 600,
+ "refresh_interval_sec": 60
+ }
+ }
+} \ No newline at end of file