Index: trunk/kernel/frontaction.php =================================================================== diff -u -r2770 -r2772 --- trunk/kernel/frontaction.php (.../frontaction.php) (revision 2770) +++ trunk/kernel/frontaction.php (.../frontaction.php) (revision 2772) @@ -34,7 +34,7 @@ $pw = $_POST["login_password"]; if(strlen($pw) < 31) $pw = md5($pw); $c .= $pw; - setcookie("login",$c,time()+2592000); + setcookie("login",$c,time()+2592000, '', $_SERVER['HTTP_HOST']); } // set new destination template if passed @@ -378,7 +378,7 @@ //unset($objSession); //$objSession = new clsUserSession(); // $var_list_update["t"] = "index"; -// setcookie("login","",time()-3600); +// setcookie("login","",time()-3600, '', $_SERVER['HTTP_HOST']); break; case "m_register": $_POST=inp_escape($_POST);