By Lynner on
Has anyone had to run across this, We are proxying drupal sites and we need to be able to have frontend drupal access, as well as the backend but the backend of Drupal is technically located in a different spot so we need to set the cookie domain to match the backend but when registered users need to login to the front end (which is different than the cookie_domain) they are unable to login. Does anyone know of a way that users are able to login through a domain that is different than the cookie_domain.
Thanks!
Comments
Maybe settings.php
Hi,
I've never tried this but there is a section on settings.php for a similar task, hope this helps:
/**
* Drupal automatically generates a unique session cookie name for each site
* based on on its full domain name. If you have multiple domains pointing at
* the same Drupal site, you can either redirect them all to a single domain
* (see comment in .htaccess), or uncomment the line below and specify their
* shared base domain. Doing so assures that users remain logged in as they
* cross between your various domains.
*/
# $cookie_domain = 'example.com';