Set-Cookie

document.cookie = "token=abc123; path=/; max-age=600";