[undertow-dev] jsession cookie path set to /
Ah, this appears to be an ordering issue, this is being read in the ServletContext constructor, which is constructed before the extensions are run. I will fix. For now you can use something like: public class SessionCookieConfigListener implements ServletContextListener { @Override public void contextInitialized(final ServletContextEvent sce) { sce.getServletContext().getSessionCookieConfig().setPath("/servletContext"); } @Override public void contextDestroyed(final ServletContextEvent sce) { } } This should be all fixed today, and will hopefully make it into Wildfly very soon.Read full article from [undertow-dev] jsession cookie path set to /
No comments:
Post a Comment