Consider the following scenario: You want to have several wikis on the same server and your users only want to login once. For this single-sign-on scenario to work you have to do the following things:
DOKU_COOKIE in inc/init.php to something that is the same on all instances, for example md5('commoncookie'). DOKU_COOKIE is name name of the cookie that is set after a user logs in. In a standard DokuWiki installation it's a hash of the full URL (including the path).setcookie calls in inc/auth.php, change DOKU_REL to '/'. This ensures that only one cookie is sent to all instances on the server.data/meta/_htcookiesalt must be the same on all instances. The file gets created when a user first logs in, after that, the content stays the same.conf/users.auth.php in the “slave” wikis must be a symlink to this file in the “master” wiki. If you have a similar namespace structure or don't need complex ACL setups, you can also share the file conf/acl.auth.php.There are many other common login feasible like LDAP and Active Directory just search and install