0
On the HOME page I record a "x" value in cookie.
var dataAtual = new Date();
var expire = new Date();
expire.setDate(dataAtual.getDate() + 1);
document.cookie = "NomeCookie=ValorCookie; expires=" + expire.toGMTString();
When you access the Register page (for example).
var valor = document.cookie;
The value returns all other existing cookies except what I just created. How can I resolve this? (if possible).
Thank you.
Just add the folder path, thank you.
– Deividson Oliveira
Outstanding as ever.
– Mateus Veloso