Fixed Trac#300: each iTop instance now uses its own name for the cookie storing the session ID. Therefore several instances can coexist independently on the same server.

SVN:trunk[913]
This commit is contained in:
Denis Flaven
2010-10-22 06:09:51 +00:00
parent 135353aa76
commit 006453678b
4 changed files with 13 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ $currentOrganization = utils::ReadParam('org_id', '');
$operation = utils::ReadParam('operation', '');
require_once('../application/loginwebpage.class.inc.php');
session_name(utils::GetConfig()->Get('session_name'));
session_start();
LoginWebPage::ResetSession();
$oPage = new LoginWebPage();