This content has been marked as final.
Show 3 replies
-
1. Re: How to set emptySessionPath?
guinotphil Sep 6, 2011 11:27 AM (in response to jboss_queries)I'm having the same issue. Any help would be fine.Thx
-
2. Re: How to set emptySessionPath?
jboss_queries Sep 6, 2011 6:33 PM (in response to guinotphil)I could make this work usign this
<system-properties>
<property name="org.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR" value="false"/>
</system-properties>
-
3. Re: How to set emptySessionPath?
csaltos Nov 27, 2012 9:35 AM (in response to jboss_queries)You need to use a WEB-INF/web.xml file for the web_app version 3, since JBoss AS 7 does NOT support session/cookie configuration by the AJP connector as JBoss AS 4.
So, just add this, to your updated web.xml file:
<session-config>
<cookie-config>
<path>/</path>
</cookie-config>
</session-config>
And this has the same efect as the old emptySessionPath in the AJP connector of JBoss AS 4.
IMPORTANT: you need ensure your web.xml uses webapp version 3. The update from old version is not dramatic !!