How to make all session cookies domain cookies in a clustered environment

Solution In Progress - Updated -

Issue

  • The application is accessed via multiple domains (e.g. x.a.com, x.b.com). All session cookies should be domain cookies. For example:
    • x.a.com --> a.com
    • y.b.com --> b.com
    • z.c.com --> c.com
  • Our custom valve is not working because the global JvmRouteValve is installed before the custom Valve we deploy with our application. The custom valve must run after the JvmRouteValve.

Environment

  • Red Hat JBoss Enterprise Application Platform 6
  • Clustered environment (JvmRouteValve)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.