[undertow-dev] Session Cookie Domain?

Stuart Douglas sdouglas at redhat.com
Mon Aug 29 21:05:51 EDT 2016


For servlet or Undertow native?

For native it is controlled by the
io.undertow.server.session.SessionCookieConfig implementation that is
passed to the session manager.

For Servlet the standard way to do it is to use a
ServletContextListener to modify the domain under
javax.servlet.ServletContext#getSessionCookieConfig

Stuart

On Fri, Aug 26, 2016 at 11:31 PM, Hicks, Matt <matt at matthicks.com> wrote:
> I can't seem to figure out any way to configure the session manager to
> define the domain of the cookie.  I want the domain to be *.mydomain.com so
> the cookie is shared across multiple sub-domains.  Can someone give me an
> example of how to do this?
>
> Thanks
>
> _______________________________________________
> undertow-dev mailing list
> undertow-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev


More information about the undertow-dev mailing list