Index: branches/RC/core/kernel/session/session.php =================================================================== diff -u -N -r10580 -r10591 --- branches/RC/core/kernel/session/session.php (.../session.php) (revision 10580) +++ branches/RC/core/kernel/session/session.php (.../session.php) (revision 10591) @@ -426,9 +426,14 @@ $this->CookiePath = str_replace(' ', '%20', $path); } + /** + * Setting cookie domain. Set false for local domains, because they don't contain dots in their names. + * + * @param string $domain + */ function SetCookieDomain($domain) { - $this->CookieDomain = '.'.ltrim($domain, '.'); + $this->CookieDomain = substr_count($domain, '.') ? '.'.ltrim($domain, '.') : false; } function SetGETName($get_name)