$cookie_domain

  1. drupal
    1. 8
    2. 6
    3. 7

The domain to be used form 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.

documentation/developer/globals.php, line 54

<?php
global $cookie_domain
?>