https://issues.apache.org/bugzilla/show_bug.cgi?id=45272
Dave <[EMAIL PROTECTED]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | --- Comment #2 from Dave <[EMAIL PROTECTED]> 2008-06-25 09:32:43 PST --- Here's a reproducible test case, with a path of "/" and version 1 the cookie is not persisted in IE, with the same path and no version the cookie is persisted. Both cookies are persisted in FireFox <%@ page import="javax.servlet.http.*" %> <% Cookie[] myCookies = request.getCookies(); for(int n=0; myCookies!=null && n < myCookies.length; n++) { out.print(myCookies[n].getName() + " : "); out.print(myCookies[n].getValue() + "<BR>"); } Cookie version0Cookie = new Cookie( "TestCookiev0" + (new java.util.Date()).getTime(), "MIGCBgkrBgEEAYI3WAOgdTBzBgorBgEEAYI3WAMBoGUwYwIDAgABAgJmAwICAMAECN7UUhW1gKdu%0ABBBgywr0Nm%2FxNVdoCHCcNMB2BDiF%2FIwn6i47%2B1H0fKHpkJeDVFhEvyYKke1zTGupImD7r2JOcdo%2F%0A6%2FK85sELQu%2BbOW%2BH9lhDfwdxHA%3D%3D"); version0Cookie.setPath("/"); // version2Cookie.setVersion(1); response.addCookie(version0Cookie); Cookie version1Cookie = new Cookie( "TestCookiev1" + (new java.util.Date()).getTime(), "MIGCBgkrBgEEAYI3WAOgdTBzBgorBgEEAYI3WAMBoGUwYwIDAgABAgJmAwICAMAECN7UUhW1gKdu%0ABBBgywr0Nm%2FxNVdoCHCcNMB2BDiF%2FIwn6i47%2B1H0fKHpkJeDVFhEvyYKke1zTGupImD7r2JOcdo%2F%0A6%2FK85sELQu%2BbOW%2BH9lhDfwdxHA%3D%3D"); version1Cookie.setPath("/"); version1Cookie.setVersion(1); response.addCookie(version1Cookie); %> -- 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]