You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2008/04/23 17:44:54 UTC

DO NOT REPLY [Bug 44860] New: 6.0. 16 only - IE and Mozilla do not return version 1 cookie...

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: tomcat-dev@jakarta.apache.org
        ReportedBy: rajeev.angal@sun.com


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 = "AQIC5wM2LY4SfcxLOSrVuxlmYng71LLmo5w5XV3xm6gYjVI=@AAJTSQACMDE=#";
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 44860] 6.0. 16 only - IE and Mozilla do not return version 1 cookie...

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44860


Filip Hanik <fh...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Filip Hanik <fh...@apache.org>  2008-04-23 10:35:22 PST ---
correct, this has been fixed in trunk and 6.0.x branch, and will be released in
the next version of 6.0


-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org