- Issue created by @ashetkar
- Status changed to Postponed: needs info
about 1 year ago 12:25pm 25 August 2023 - 🇺🇸United States cilefen
As a bug report this needs much more detail and steps to reproduce. If there is custom code we must see all of it to identify the bug in Drupal.
- 🇮🇳India ashetkar
@cilefen, Please find below custom code which we are using to generate anon user session ID. But once we clear drupal cache it is not generating again.
function custom_page_attachments(array &$page) {
page['#attached']['session_id'] = \Drupal::service('session_manager')->getId();
} - 🇺🇸United States cilefen
A common reason for this kind of thing is missing cache contexts → in custom code.