HOR-368 Security Avoid the problem of overwriting session data opening multiple browser tabs or multiple browser instances

up observations

active or desactive block tab
This commit is contained in:
Ronald Q
2016-03-08 18:37:38 -04:00
parent 5af732c912
commit 00885f541e
16 changed files with 177 additions and 12 deletions

View File

@@ -412,6 +412,12 @@ try {
die;
}
$configS = System::getSystemConfiguration('', '', SYS_SYS);
$activeSession = array_key_exists('session_block', $configS) ? !(int)$configS['session_block']:true;
if ($activeSession){
setcookie("PM-TabPrimary", 101010010, time() + (24 * 60 * 60), '/');
}
$oHeadPublisher = &headPublisher::getSingleton();
$oHeadPublisher->extJsInit = true;