public function onKernelRequest(GetResponseEvent $event)
    {
        $session = $event->getRequest()->getSession();

        if ($session === null || !$session->isStarted()) {
            return;
        }

        if (!$event->getRequest()->cookies->has('yc-session-id')) {
            $event->getRequest()->cookies->set('yc-session-id', $session->getId());
        }
    }