cookies

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?
 
D

Dennis Willson

Double check your setting in Firefox. It has a setting for cookies that restricts cookie access to "originating site only".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,739
Latest member
Clint8040

Latest Threads

Top