We have a servlet that reads and writes a cookie named "props" (which contains state info). We noticed today that on one lab computer running firefox, state wasn't being tracked correctly. Looking at the cookies on this computer we noticed the following:
* A "props" cookie for host 10.30.30.96
* A "props" cookie for domain .10.30.30.96
(10.30.30.96 is the IP of our server)
So, for some reason, there are two copies of the cookie. Judging by the behavior, it seems that when a page is submitted, the server gets the domain cookie. but when the server writes a cookie back into the response, it's writing into the host cookie.
clearly, this is a big problem, but we've never seen it on any other computer/browser. any idea why this would happen and how to detect/fix/prevent it?
* A "props" cookie for host 10.30.30.96
* A "props" cookie for domain .10.30.30.96
(10.30.30.96 is the IP of our server)
So, for some reason, there are two copies of the cookie. Judging by the behavior, it seems that when a page is submitted, the server gets the domain cookie. but when the server writes a cookie back into the response, it's writing into the host cookie.
clearly, this is a big problem, but we've never seen it on any other computer/browser. any idea why this would happen and how to detect/fix/prevent it?
