Ver originalsetcookie ("securitycod", $string, time()+1000);
Ver originalsetcookie ("securitycod", $string, time()+1000,"/");