From 146f1800d0301faa07884097dabbe6bd4fd80181 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 17 Jan 2006 11:51:47 +0000 Subject: [PATCH] Updated php_setup file, to hold sessions for a whole day, git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2503 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/php_setup.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/php_setup.inc b/include/php_setup.inc index 93104ad28..07b2dc57c 100644 --- a/include/php_setup.inc +++ b/include/php_setup.inc @@ -157,6 +157,12 @@ ini_set("display_errors",1); ini_set("report_memleaks",1); ini_set("include_path",".:$BASE_DIR/include"); +/* This specifies, how old a session file must be, before it is deleted + Don't change this value, use gosa.conf session_lifetime instead + ^ Value in seconds = 1 day, php.ini default is 1440 ~ 24 min +*/ +ini_set("session.gc_maxlifetime",8640); + /* Do smarty setup */ require("smarty/Smarty.class.php"); $smarty = new Smarty; -- 2.30.2