1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[CLOSED] Login on different subdomains

Discussion in 'XenForo Development Discussions' started by Bugfix, Jul 10, 2014.

  1. Bugfix

    Bugfix Member

    My site's URL is "www.mysite.com" - there I login to XF.
    Now, I want my users to visit "subdomain.mysite.com" - but I am logged out.
    Is there a way to tell XF that the login-cookie will work on any subdomain?
    Found that:
    and tried:
    $config['cookie'] = array(
       'prefix' => 'xf_',
       'path' => '/',
       'domain' => '.mysite.com'
    But after deleting my cookies and re-login nothing changed.
    Any help please?

    Best regards
  2. Bugfix

    Bugfix Member

    Never mind, got it. :cool:

Share This Page