On the HOME page, I write an "x" value in a cookie.
var dataAtual = new Date();
var expire = new Date();
expire.setDate(dataAtual.getDate() + 1);
document.cookie = "NomeCookie=ValorCookie; expires=" + expire.toGMTString();
When accessing the Registration page (for example).
var valor = document.cookie;
The value returns all other existing cookies except the one I just created. How can I solve this? (if possible).
Thank you.