Code

Updated php_setup file, to hold sessions for a whole day,
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 17 Jan 2006 11:51:47 +0000 (11:51 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 17 Jan 2006 11:51:47 +0000 (11:51 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2503 594d385d-05f5-0310-b6e9-bd551577e9d8

include/php_setup.inc

index 93104ad286a1358c02c33d907f10118b0af3c065..07b2dc57cb86fe243009206c5bf3d6cf955e7f2c 100644 (file)
@@ -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;