Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-02-04 16:56:10 +0400
committerVincent Petry <pvince81@owncloud.com>2014-02-05 16:46:49 +0400
commit7b948b058037ff7b80e0e272ab94036d1c55d76b (patch)
tree03764d242f1d4c5ee53e16c0bd2d35d85e336c16 /config
parent9404389d83ec15874a108d85043453c2fd546e26 (diff)
Added session_keepalive setting
When session_keepalive is true (default) the heartbeat will be send as often as the half of the session timeout value. Backport of 912da8d to stable6
Diffstat (limited to 'config')
-rwxr-xr-xconfig/config.sample.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 1070ef72eda..eaf9eba3b43 100755
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -178,6 +178,13 @@ $CONFIG = array(
/* Life time of a session after inactivity */
"session_lifetime" => 60 * 60 * 24,
+/*
+ * Enable/disable session keep alive when a user is logged in in the Web UI.
+ * This is achieved by sending a "heartbeat" to the server to prevent
+ * the session timing out.
+ */
+"session_keepalive" => true,
+
/* Custom CSP policy, changing this will overwrite the standard policy */
"custom_csp_policy" => "default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src *; font-src 'self' data:; media-src *",