summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f1a5361)
raw | patch | inline | side by side (parent: f1a5361)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 16 Nov 2009 10:13:43 +0000 (10:13 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 16 Nov 2009 10:13:43 +0000 (10:13 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14817 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_session.inc | patch | blob | history |
index 0d543e689618ecda8c9549c41e1574e2696dbec5..9d298cd9eabdf7b9a2933f39fcafe2aec58a8418 100644 (file)
!! The garbage collector is a cron job on debian systems, the cronjob will fetch the timeout from
the php.ini, so if you use debian, you must hardcode session.gc_maxlifetime in your php.ini */
ini_set("session.gc_maxlifetime",24*60*60);
+ session_name("GOsa");
session_start();
/* Check for changed browsers and bail out */
{
if ($_SESSION['HTTP_USER_AGENT'] != md5($_SERVER['HTTP_USER_AGENT'])) {
session_destroy();
+ session_name("GOsa");
session_start();
}
} else {