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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user