Contributions API

Calling all Drupal developers!

Help us get this on the first page of Digg. DIGG NOW!

Modules in 6

$cookie_domain

Definition

documentation/globals.php

Description

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.

Code

<?php
global $cookie_domain;
?>