mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-12-27 09:10:58 +08:00
session should not get cleared automatically before 24h
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
54f39b5334
commit
b47e674aa7
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ ini_set('session.save_path', $dataConst->GetSessionDirectory());
|
||||||
// Auto logout on browser close
|
// Auto logout on browser close
|
||||||
ini_set('session.cookie_lifetime', '0');
|
ini_set('session.cookie_lifetime', '0');
|
||||||
|
|
||||||
|
# Keep session for 24h max
|
||||||
|
ini_set('session.gc_maxlifetime', '86400');
|
||||||
|
|
||||||
// Create app
|
// Create app
|
||||||
AppFactory::setContainer($container);
|
AppFactory::setContainer($container);
|
||||||
$app = AppFactory::create();
|
$app = AppFactory::create();
|
||||||
|
|
Loading…
Reference in a new issue