https://issues.apache.org/bugzilla/show_bug.cgi?id=44860

           Summary: 6.0.16 only - IE and Mozilla do not return version 1
                    cookie...
           Product: Tomcat 6
           Version: 6.0.16
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Servlet & JSP API
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Only happens when setVersion(1) and cookie.setPath("/" )  are used : cookie is
not returned on IE and Mozilla. 
Works fine on Firefox.

Code enclosed.

Cookie TEST is retuned correctly back to the server... but TEST1 is not on IE
and Mozilla...Firefox returns both.

Any clue?

<%

String val1 = "[EMAIL PROTECTED]";
String val = "Foo=bar";
Cookie ck = new Cookie("TEST", val);
Cookie ck1 = new Cookie("TEST1", val1);
ck.setDomain(".idp.com");
ck.setPath("/");
ck.setVersion(1);
ck1.setVersion(1);

response.addCookie(ck);
response.addCookie(ck1);
%>


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to