I have this line:

document.cookie =textbox+this.getParameterByName("idProd")+'='+document.getElementById('name').value+'; domain=mydomain.com; expires='+dia.toGMTString()+'; path=/';

This cookie should work on the mydomain.com and all of its subdomains to read and write, correct??? Doesnt work online but works on local thats why I ask.


Noone has any idea about this?

IIRC, it was something like this: document.cookie = "key=value,path=/;domain=example.com";

Well thanks but helpful isnt exactly what I call you answer

Thank you pritaeas....

The way I have it implanted should work but nothing.......