How to make all session cookies domain cookies in a clustered environment
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, tools, and much more.