Browse Source
Merge pull request #26007 from nextcloud/docs/config/session_lifetime
Add hint about possible limit when setting a session_lifetime
pull/26018/head
Roeland Jago Douma
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
config/config.sample.php
|
|
|
@ -249,6 +249,9 @@ $CONFIG = [ |
|
|
|
/** |
|
|
|
* The lifetime of a session after inactivity. |
|
|
|
* |
|
|
|
* The maximum possible time is limited by the session.gc_maxlifetime php.ini setting |
|
|
|
* which would overwrite this option if it is less than the value in the config.php |
|
|
|
* |
|
|
|
* Defaults to ``60*60*24`` seconds (24 hours) |
|
|
|
*/ |
|
|
|
'session_lifetime' => 60 * 60 * 24, |
|
|
|
|