Private GIT

Skip to content
Snippets Groups Projects
Commit ad3749ce authored by Lionel Assepo's avatar Lionel Assepo
Browse files

* fixes #5986

parent a78a85f5
No related branches found
No related tags found
No related merge requests found
......@@ -58,8 +58,9 @@ class CentreonSession
}
function restart() {
$this->stop();
$this->start();
self::stop();
self::start();
session_regenerate_id(true);
}
function s_unset() {
......
......@@ -108,8 +108,7 @@ if (isset($_GET["disconnect"])) {
$pearDB->query("DELETE FROM session WHERE session_id = '".session_id()."'");
CentreonSession::stop();
CentreonSession::start();
CentreonSession::restart();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment