1 Reply Latest reply on Sep 21, 2018 5:00 AM by Francois Regnaut

    Cookie path setting seemed ignored

    Francois Regnaut Newbie

      Since Wildfly 11, when I set the cookie path of my own cookie (not the session one), it seemed ignored : The cookie is created, but with the 'default path' corresponding to the web-app path


      I set the cookie path in java with this simple code : 


      Cookie cookie = new Cookie(cookieName, value);


      cookie.setPath("/mypath; HttpOnly");


      But my cookie is created with the default path of the web-app


      Is it a new setting , something i can change ?