We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1570
    • 38 Posts
    How can i make sessions work across subdomains of my modx site?

    The site is multilingual and each language is on a different subdomain eg en.example.com, de.example.com ect..

    How can i configure the setup to be able to read all sessions across all subdomains?
      • 22303 MODX Staff
      • 10,725 Posts
      Quote from: AndrewBrg at Feb 17, 2010, 05:22 AM

      How can i make sessions work across subdomains of my modx site?

      The site is multilingual and each language is on a different subdomain eg en.example.com, de.example.com ect..

      How can i configure the setup to be able to read all sessions across all subdomains?
      In Revolution, by setting session_cookie_domain to .example.com -- in Evolution I’m not sure this is possible without editing the PHP configuration and changing the session.cookie_domain ini setting.