I php så setter man en cookie slik
setcookie('cookie_name', $value, time() + 3600), '/', '.domain.com', true, true);
i javascript slik
document.cookie="value; expires=Thu, 24 Dec 2015 12:00:00 UTC; path=/";
Men hvordan setter man de 3 siste tingene i javascript cookien (domene, ssl...