WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Subdomains and login persistence.

[Resolved] Subdomains and login persistence.

Viewing 5 replies - 1 through 5 (of 5 total)
  • barrybell
    Member

    @barrybell

    Ok, solved it. Wrote a simple plugin that creates an additional logged_in cookie that’s shared across subdomains when a user logs on, and which also destroys this extra cookie when the user logs off.

    The effect is that I can display a persistent and consistent user name and a ‘you are logged in’ type message on every subdomain of the blog.

    It’s safe enough as it only replicates the logged_on cookie and NOT the auth_cookie which handles entry to the backend.

    Phew.

    marcrue
    Member

    @marcrue

    I’m in a similar but not equal situation, we work with 8 subdomains, and each has its own wordpress installation, but they are all related. Do you think your solution may work even if there were different wordpress installs instead of vhost?

    vurea
    Member

    @vurea

    could you share how you got it working? ^__^

    barrybell,
    I am in the same situation. My blog has multiple users and each has a subdomain as a ‘profile’ or ‘user-info’ page, but login info doesn’t persist. Could you give me a link to where I can find the plugin, or at least email it to me? webmaster(AT)culturalgadfly(DOT)com.

    vurea,
    I found a plugin that fixed the problem:
    root Cookie Path
    http://www.linickx.com/archives/466/root-cookie-for-wp26root-cookie-for-wp26

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Subdomains and login persistence.’ is closed to new replies.