By poker10 on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
10.3.x
Introduced in version:
10.3.0
Issue links:
Description:
Session name suffix is now configurable in services.yml.
This is especially useful for sites migrating from Drupal 7, as the old Drupal 7 session name (and its session cookie) could prevent users from logging in to the newly upgraded site (see the related issue).
Follow this procedure to add the session name_suffix:
- Change into the sites directory (E.g.,
sites/default) - If
services.ymldoesn't exist already, copydefault.services.ymltoservices.yml - Modify
services.ymland set thename_suffixparameter to the desired value.
Also see default.services.yml for instructions:
# By default, Drupal generates a session cookie name based on the full
# domain name. Set the name_suffix to a short random string to ensure this
# session cookie name is unique on different installations on the same
# domain and path (for example, when migrating from Drupal 7).
name_suffix: ''
Impacts:
Site builders, administrators, editors