Issue #2983612 by daniel.bosen, randalv, swatichouhan012, alexpott, aleevas,...
Issue #2983612 by daniel.bosen, randalv, swatichouhan012, alexpott, aleevas, kishor_kolekar, naresh_bavaskar, eli-t, quietone: Different sites served from the same domain share the session cookie name
@@ -33,6 +38,10 @@ public function __construct($options = []) {
'sid_bits_per_character'=>6,
'name_suffix'=>'',
];
if(!isset($this->settings)){
@trigger_error('Calling '.__METHOD__.'() without the $settings argument is deprecated in drupal:11.1.0 and will be required in drupal:12.0.0. See https://www.drupal.org/node/3462570',E_USER_DEPRECATED);
$this->settings=\Drupal::service('settings');
}
}
/**
@@ -105,6 +114,9 @@ protected function getUnprefixedName(Request $request) {
// Replace "core" out of session_name so core scripts redirect properly,