This content has been marked as final.
Show 1 reply
-
1. Re: Jboss 7.1 final and Session Cookie Path configuration
romanj Jan 3, 2013 10:48 AM (in response to lakeo)It can either be configured on apache or inside the project.
There is to less details to personalize that set up for your system. But please look on ProxyPassReverseCookiePath and ProxyPassReverseCookieDomain - they should do the job If you would like to have that set up in Apache.
<VirtualHost *:*>
Servername example.com
ProxyRequests Off
ProxyPass / http://localhost:8080/example.com/
ProxyPassReverseCookiePath /example.com /
ProxyPassReverseCookieDomain localhost example.com
</VirtualHost>
If you prefere to tide up config inside the project you can specify cookie path in web.xml
<session-config>
<cookie-config>
<path>/</path>
</cookie-config>
</session-config>