diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-02-04 13:56:10 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-02-04 13:56:10 +0100 |
commit | 912da8d27756d9f0d55821338f6d8698af2dbd27 (patch) | |
tree | dac95a4673a5d523366b9478c27887d16571f0a4 /config | |
parent | 49f0f9f2f67c3494628f14c7a5c383596879ec12 (diff) | |
download | nextcloud-server-912da8d27756d9f0d55821338f6d8698af2dbd27.tar.gz nextcloud-server-912da8d27756d9f0d55821338f6d8698af2dbd27.zip |
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-x | config/config.sample.php | 7 |
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 *", |