Introducing root cookie 1.5 now with subdomain support!

UPDATE: This Plugin has been updated, please see the new post, comments here are now closed.

A long time ago Sc0ttClark came to me and suggested that his cookie subdomains plug-in & my cookie path plug-in should be merged…. well I’ve finally done it!

There was a little delay in the release as the initial code only worked for top level .com, .net & .org style domains but a simple “manual” option in the admin screen now allows you to set the domain name, so longer domains like .co.uk can be supported!

All previous functionality is supported, just by enabling the plug-in the path is stripped out you only need to go into the admin page if you want to change the subdomain of the cookie.

The admin page now has a “News & Tutorials” feed (subscribe) my plan is to post articles on how to use root-cookie.

You can download the plugin from wordpress.org, and there is a discussion forum to get community support.

rgds,

Nick


9 thoughts on “Introducing root cookie 1.5 now with subdomain support!

  1. hi, i login from subdomain and then i return to main domain and try to site management wp displaying login page, i can’t login directly site management. when i login from main domain subdomain site management is okay. how can i fix it. thanks

  2. I am usig your plugin. I think that there is some incompatibility between the latest WP 3.0 & the plugin. Cookies do not seem to get wiped properly after logout. As a result, the user is unable to logout. Is there a fix to this problem ?

  3. I have this scenario:

    I have a site (siteA.com) and a wordpress (siteB.com). In siteA.com users can register and each time one is registered it adds the same user (using curl) on siteB.com (wordpress).
    I need that when a user is logged in siteA.com it is automatically logged in siteB.com. They have different databases and domains. Is this possible? How ?

    • Hello,
      Browser security will stop you doing this… siteA.com cannot see cookies for siteB.com… the only away to achieve what you want is by using siteA.domain.com & siteB.domain.com.