X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fclass_session.inc;h=7d8524c7383d7f3488002c2ad8c9dcc27d69a47f;hb=9540255fc994b107abc71468c306d408e290d7bb;hp=0d543e689618ecda8c9549c41e1574e2696dbec5;hpb=434959652679c3a0bccca42ce9e858b4d595be30;p=gosa.git diff --git a/gosa-core/include/class_session.inc b/gosa-core/include/class_session.inc index 0d543e689..7d8524c73 100644 --- a/gosa-core/include/class_session.inc +++ b/gosa-core/include/class_session.inc @@ -73,7 +73,7 @@ class session { /* Sanity check */ if (!session::channel_exists($channel)){ - msg_dialog::display(_("Internal error"), _("Requested channel does not exist! Please contact your Administrator."), FATAL_ERROR_DIALOG); + msg_dialog::display(_("Internal error"), _("Requested channel does not exist!"), FATAL_ERROR_DIALOG); } $channel= "gch_".$channel; @@ -98,7 +98,7 @@ class session { } else { /* Sanity check */ if (!session::channel_exists($channel)){ - msg_dialog::display(_("Internal error"), _("Requested channel does not exist! Please contact your Administrator."), FATAL_ERROR_DIALOG); + msg_dialog::display(_("Internal error"), _("Requested channel does not exist!"), FATAL_ERROR_DIALOG); } $_SESSION[$channel][$name] = $value; } @@ -124,7 +124,7 @@ class session { /* Sanity check */ if (!session::channel_exists($channel)){ - msg_dialog::display(_("Internal error"), _("Requested channel does not exist! Please contact your Administrator."), FATAL_ERROR_DIALOG); + msg_dialog::display(_("Internal error"), _("Requested channel does not exist!"), FATAL_ERROR_DIALOG); } $channel= "gch_".$channel; @@ -186,6 +186,7 @@ class session { !! 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 */ @@ -193,6 +194,7 @@ class session { { if ($_SESSION['HTTP_USER_AGENT'] != md5($_SERVER['HTTP_USER_AGENT'])) { session_destroy(); + session_name("GOsa"); session_start(); } } else {