I'm migrating from j2sdk 1.4 to jdk1.5 and found following problem using Tomcat 5.5 on linux (gentoo). On windows machines probem doesn't occur. I'm using following code to set cookie with specified lifetime
Cookie cookie = new Cookie("name", "value"); cookie.setMaxAge(3600); response.addCookie(cookie); Using this - cookie is not stoted to client. When i remove setting of life time - cooke is set OK. On windows cookei are set without any problems with lifetime. On linux i am unalbe to set cookei with specified lifetime. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914018#3914018 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914018 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user