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-04 16:56:10 +0400
commit912da8d27756d9f0d55821338f6d8698af2dbd27 (patch)
treedac95a4673a5d523366b9478c27887d16571f0a4 /config
parent49f0f9f2f67c3494628f14c7a5c383596879ec12 (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.
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 01abc583688..ef5fb7ea5a5 100755
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -184,6 +184,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 *",