$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

external_documentation/developer/globals.php, line 56

Code

global $cookie_domain;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.