tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45272] Version 1 cookie not persisted in IE
Date Wed, 25 Jun 2008 16:03:24 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45272


Filip Hanik <fhanik@apache.org> changed:

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




--- Comment #1 from Filip Hanik <fhanik@apache.org>  2008-06-25 09:03:23 PST ---
Here is my JSP

<%@ 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 c = new
Cookie("TestCookie","MIGCBgkrBgEEAYI3WAOgdTBzBgorBgEEAYI3WAMBoGUwYwIDAgABAgJmAwICAMAECN7UUhW1gKdu%0ABBBgywr0Nm%2FxNVdoCHCcNMB2BDiF%2FIwn6i47%2B1H0fKHpkJeDVFhEvyYKke1zTGupImD7r2JOcdo%2F%0A6%2FK85sELQu%2BbOW%2BH9lhDfwdxHA%3D%3D");
 c.setVersion(1);
 response.addCookie(c);
%>

and here is the IE output

JSESSIONID : 335EF2DF68ED0A12A148AB2A63CCC528
TestCookie :
MIGCBgkrBgEEAYI3WAOgdTBzBgorBgEEAYI3WAMBoGUwYwIDAgABAgJmAwICAMAECN7UUhW1gKdu%0ABBBgywr0Nm%2FxNVdoCHCcNMB2BDiF%2FIwn6i47%2B1H0fKHpkJeDVFhEvyYKke1zTGupImD7r2JOcdo%2F%0A6%2FK85sELQu%2BbOW%2BH9lhDfwdxHA%3D%3D


-- 
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


Mime
View raw message