global $cookie_domain

You are here

  1. 7 developer/globals.php cookie_domain
  2. 6 developer/globals.php cookie_domain
  3. 8 developer/globals.php cookie_domain

The domain to be used for session cookies.

Cookie domains must contain at least one dot other than the first (RFC 2109). For hosts such as 'localhost' or an IP Addresses the cookie domain will not be set.

See also

default.settings.php

File

developer/globals.php, line 56
These are the global variables that Drupal uses.

Code

global $cookie_domain;