J
JS
Hi,
I have problem using cookies in Firefox.
I have two pages. On first page I am setting a cookie, first by clearing
it out like this
document.cookie = "test=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT";
document.cookie = "test; expires=Thu, 01-Jan-1970 00:00:01 GMT";
then setting cookie like this
document.cookie = "test=" + document.val1.list[0].value + ";expires=Wen,
01-Mar-2006 00:00:01 GMT;domain=www.somewhere.com";
then I submit the form on first page to another server on another
domain. This server stores values from the form and then loads second
page from server that has both pages.
The problem is that when I try reading "test" cookie on second page, in
Firefox, I get nothing. In Internet Explorer I get value for "test" cookie.
What is going on? Is this a security issue?
I have problem using cookies in Firefox.
I have two pages. On first page I am setting a cookie, first by clearing
it out like this
document.cookie = "test=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT";
document.cookie = "test; expires=Thu, 01-Jan-1970 00:00:01 GMT";
then setting cookie like this
document.cookie = "test=" + document.val1.list[0].value + ";expires=Wen,
01-Mar-2006 00:00:01 GMT;domain=www.somewhere.com";
then I submit the form on first page to another server on another
domain. This server stores values from the form and then loads second
page from server that has both pages.
The problem is that when I try reading "test" cookie on second page, in
Firefox, I get nothing. In Internet Explorer I get value for "test" cookie.
What is going on? Is this a security issue?