I have over two subdomains on my site. such as: www.example.com, login.example.com, user.example.com, cart.example.com ... i setup cookie_domain -.example.com in config.yml and php.ini when I setCookies (' test ',' value ',' .example.com '), but cookie is not always used in the subdomain. so how to do it now?
there is my config.yml
session: handler_id: session.handler.native_file save_path: "%kernel.root_dir%/../var/sessions/" cookie_domain: .example.com cookie_lifetime: 0 name: TESTSESSIONID
in my safety:
security: session_fixation_strategy: none
source share