I am trying to set a cookie that can be picked up from a different server to
the one setting it. They both belong to the same domain (daves.domain.com
and daves2.domain.com).
The first server sets the cookie and redirects to the second server where
the cookie is read.
On IE5.5 and above the cookie does not get set, but it works fine for IE5
and Mozilla.
Is this a bug with later versions of IE or am I doing something wrong.
This is the code:
Cookie c = new Cookie("User", "DAVE");
c.setDomain("domain.com");
c.setPath("/servlet/LogonServlet");
c.setMaxAge(60);
c.setVersion(1);
resp.addCookie(c);
resp.sendRedirect (redirect_url) ;
Dave.
[EMAIL PROTECTED]