Description : How to make cookie in php track both in www.site.com and site.com for some web-site?
Last Answer : answer:Set the domain argument to just '.site.com', including the leading period, rather than accepting the default (which will be whatever the current domain is) http://php.net/manual/en/function.setcookie.php ... So you might have something like: setcookie( my_cookie', 123, 0, , '.site.com');