0 Replies Latest reply on Dec 22, 2005 12:06 PM by Evgeny Shepelyuk

    cookie ain't set on Linux Tomcat 5.5

    Evgeny Shepelyuk Newbie

      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");

      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.